We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08bfd3f commit bf1365eCopy full SHA for bf1365e
web/src/hooks/useSortitionModulePhase.ts
@@ -1,7 +1,9 @@
1
+import { REFETCH_INTERVAL } from "consts/index";
2
+
3
import { useReadSortitionModule } from "hooks/contracts/generated";
4
5
export const useSortitionModulePhase = () => {
6
// eslint-disable-next-line
7
// @ts-ignore
- return useReadSortitionModule({ functionName: "phase" });
8
+ return useReadSortitionModule({ functionName: "phase", query: { refetchInterval: REFETCH_INTERVAL } });
9
};
0 commit comments