Skip to content
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

Why navigation to /dashboard/customer or /dashboard/invoices will trigger RevenueChart to call fetchRevenue #971

Open
tangxiaopingdev opened this issue Jan 10, 2025 · 0 comments

Comments

@tangxiaopingdev
Copy link

RevenueChart is in the /dashboard Page, why will trigger RevenueChart to refresh when navigation to other page, such as
/dashboard/customer, /dashboard/invoices, /dashboard/invoices/14/edit.

this will cause many sql query, even if we not needed.

I am newbie to nextjs, hope give me some solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant