Skip to content

Commit

Permalink
fix: remove unwanted timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
RyukTheCoder committed Dec 30, 2024
1 parent 7b60896 commit 868c599
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/search/_components/Result/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ import { notFound } from 'next/navigation';

async function Result(props: PropsType) {
const { query, page } = props;

await new Promise((res) =>
setTimeout(() => {
res(5);
}, 5000),
);
const data = await getWalletSwaps(query, page);
const { transactions, total } = data || {};

Expand Down

0 comments on commit 868c599

Please sign in to comment.