Skip to content

Commit

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

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

return res.json()
Expand Down

0 comments on commit d043e6e

Please sign in to comment.