Skip to content

Commit bf1365e

Browse files
committed
fix(web): add refetch interval to sortition module phase
1 parent 08bfd3f commit bf1365e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import { REFETCH_INTERVAL } from "consts/index";
2+
13
import { useReadSortitionModule } from "hooks/contracts/generated";
24

35
export const useSortitionModulePhase = () => {
46
// eslint-disable-next-line
57
// @ts-ignore
6-
return useReadSortitionModule({ functionName: "phase" });
8+
return useReadSortitionModule({ functionName: "phase", query: { refetchInterval: REFETCH_INTERVAL } });
79
};

0 commit comments

Comments
 (0)