Skip to content

Commit

Permalink
fix: 앱뷰에서 id=about인식이 안되었던 점 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dongmin0204 committed Feb 17, 2025
1 parent 64d71d0 commit c10b0d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/pages/Main/FarmSyetemNav/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export default function MobileNav({ currentSection, handleSmoothScroll }: Mobile
const [isNavOpen, setIsNavOpen] = useState(false);
const currentNavItem = navItems.find(item => item.id === currentSection) ?? navItems[0];

if(currentSection === "about") {
return null;
}

return (
<S.MobileNavbar isNavOpen={isNavOpen}>
{/*
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Main/Intro/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Intro = () => {

if (isApp) {
return (
<S.AppContainer>
<S.AppContainer id="about">
<S.TopSection>
<motion.img
src={logo}
Expand Down

0 comments on commit c10b0d7

Please sign in to comment.