Skip to content

Commit

Permalink
remove stagger
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 21, 2024
1 parent b0c47d2 commit 8414776
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tanstack-start/app/components/ThemeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ const randomColorTheme = createServerFn().handler(async () => {
method: 'PUT',
})

// Wait 3 seconds to stagger requests a little bit
await new Promise((resolve) => setTimeout(resolve, 3_000))

return res.json()
})

Expand Down

0 comments on commit 8414776

Please sign in to comment.