Skip to content

Commit c4364b3

Browse files
committed
fix duration
1 parent 0437768 commit c4364b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • frontend/src/ts/components/layout/header

frontend/src/ts/components/layout/header/Nav.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ export function Nav(): JSXElement {
175175
fallback={
176176
<Anime
177177
initial={{ opacity: 0 }}
178-
animate={{ opacity: 1, duration: 1250 }}
179-
exit={{ opacity: 0, duration: 1250 }}
178+
animate={{ opacity: 1, duration: 125 }}
179+
exit={{ opacity: 0, duration: 125 }}
180180
>
181181
<Show when={showLoginButton()}>
182182
<Button
@@ -200,8 +200,8 @@ export function Nav(): JSXElement {
200200
{(snap) => (
201201
<Anime
202202
initial={{ opacity: 0 }}
203-
animate={{ opacity: 1, duration: 1250 }}
204-
exit={{ opacity: 0, duration: 1250 }}
203+
animate={{ opacity: 1, duration: 125 }}
204+
exit={{ opacity: 0, duration: 125 }}
205205
>
206206
<div
207207
ref={accountMenuRef}

0 commit comments

Comments
 (0)