Skip to content

Commit 762061b

Browse files
authored
fix: hide header border when user scroll up the page (#956)
1 parent b9935ba commit 762061b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/navigation/components/Navigation/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Navigation: React.FC<NavigationProps> = ({data, logo, className}) =
5252
if (!withBorderOnScroll) return () => {};
5353

5454
const showBorderOnScroll = () => {
55-
if (!showBorder) {
55+
if (!withBorder) {
5656
setShowBorder(window.scrollY > 0);
5757
}
5858
};

0 commit comments

Comments
 (0)