Skip to content

Commit

Permalink
Shorten delay
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Dec 18, 2024
1 parent 0c442d7 commit 740f32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web-next/src/components/delay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function Delay(
let timer: ReturnType<typeof setTimeout>;

onMount(() => {
timer = setTimeout(() => setShow(true), props.ms ?? 1000);
timer = setTimeout(() => setShow(true), props.ms ?? 200);
});

onCleanup(() => clearTimeout(timer));
Expand Down

0 comments on commit 740f32c

Please sign in to comment.