misc: updated refetch interval

This commit is contained in:
Sheen Capadngan
2024-07-31 17:02:28 +08:00
parent 1866ce4240
commit 27f9628dc5
@@ -33,7 +33,7 @@ export const SecretV2MigrationSection = () => {
currentWorkspace?.version === ProjectVersion.V3 ? "" : currentWorkspace?.id || "", currentWorkspace?.version === ProjectVersion.V3 ? "" : currentWorkspace?.id || "",
{ {
refetchInterval: refetchInterval:
currentWorkspace?.upgradeStatus === ProjectUpgradeStatus.InProgress ? 3000 : false currentWorkspace?.upgradeStatus === ProjectUpgradeStatus.InProgress ? 2000 : false
} }
); );
const { membership } = useProjectPermission(); const { membership } = useProjectPermission();