From b246808c586523e97e5e8428e2cdab9d2a5c730e Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 14 Sep 2023 17:23:58 +0800 Subject: [PATCH] fix: header spring transition Signed-off-by: Innei --- src/components/layout/header/internal/MenuPopover.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/header/internal/MenuPopover.tsx b/src/components/layout/header/internal/MenuPopover.tsx index e376c5a184..d6a35f7af6 100644 --- a/src/components/layout/header/internal/MenuPopover.tsx +++ b/src/components/layout/header/internal/MenuPopover.tsx @@ -6,7 +6,7 @@ import Link from 'next/link' import type { IHeaderMenu } from '../config' import { FloatPopover } from '~/components/ui/float-popover' -import { microDampingPreset } from '~/constants/spring' +import { softSpringPreset } from '~/constants/spring' import { clsxm } from '~/lib/helper' export const MenuPopover: Component<{ @@ -68,7 +68,7 @@ const Item = memo(function Item( {isEnter && (