Skip to content

Commit

Permalink
🐛 Remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovizuete committed Oct 7, 2022
1 parent 1a77949 commit 4a72883
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/QueryForm/hooks/useQueryForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const useQueryForm = ({

const performQuery = async (params: RunQueryParams) => {
onPerformQuery?.();
await new Promise((resolve) => setTimeout(resolve, 1000));
const { error, result } = await runQuery(params);
if (error) {
onError?.(error);
Expand Down

0 comments on commit 4a72883

Please sign in to comment.