-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Refetch Interval to History Data #69
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working great to me! TYSM Hunter!
Tried on sepolia and optimism, sending funds and NFT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
Description
useGetHistory
hook to use React Query to fetch the History DatascaffoldConfig.pollingInterval
as therefetchInterval
which is currently 30 secondsTo test, you can set the pollingInterval to something like 3 seconds locally. Send the burner wallet some funds and the history should update itself (without the need to re-show that initial loading spinner). We can adjust the interval if needed.
This should address #54