Skip to content

Commit

Permalink
Update hooks/isDeployed.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
Marchand-Nicolas and coderabbitai[bot] authored Jul 18, 2024
1 parent 7adc2ad commit 2deac15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/isDeployed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function isStarknetDeployed(address?: string) {
const interval = setInterval(() => {
setReload(true);
}, 3000);
return () => clearTimeout(interval);
return () => clearInterval(interval);
}, [isDeployed, deploymentData]);

useEffect(() => {
Expand Down

0 comments on commit 2deac15

Please sign in to comment.