chore: update current-plan API SWR config to avoid unwanted API calls. (#525)

This commit is contained in:
Prateek Shourya
2024-07-01 13:02:47 +05:30
committed by GitHub
parent 7f98febfaa
commit 712a3f0a80

View File

@@ -30,6 +30,8 @@ export const CloudEditionBadge = observer(() => {
: null,
{
errorRetryCount: 2,
revalidateOnFocus: false,
revalidateIfStale: false,
}
);