Skip to content

Commit

Permalink
fix: remove timeout used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteAtATime committed Dec 13, 2024
1 parent 2815bf9 commit 1dc759f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/nextjs/app/ipfs/[cid]/_components/useIpfsData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export const useIpfsData = (
const fetchFromIpfs = async () => {
if (!ipfs) return;

await new Promise(resolve => setTimeout(resolve, 1000));

try {
const response = await fetch(`https://pineapple.fyi/ipfs/${ipfs}`);
const data: IpfsData = await response.json();
Expand Down

0 comments on commit 1dc759f

Please sign in to comment.