Skip to content

Commit

Permalink
fix: merge 과정 중 충돌 해결 오류 수정 (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 authored Sep 21, 2023
1 parent bc7ba08 commit e6aba04
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions frontend/src/components/Layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,25 @@ const Navbar = ({ $layoutWidth }: NavBarProps) => {
const { routingHandlers } = useNavigator();
const { navbarHighlights } = useContext(NavbarHighlightsContext);
return (
<Wrapper
$isAddPage={navbarHighlights.addMapOrPin}
$layoutWidth={$layoutWidth}
>
{NAV_ITEMS.map((item) => {
return (
<NavbarItem
key={item.key}
label={item.label}
icon={item.icon}
focusIcon={item.focusIcon}
isHighlighted={navbarHighlights[item.key]}
onClick={() => routingHandlers[item.key]()}
$layoutWidth={$layoutWidth}
/>
);
})}
<>
<Wrapper
$isAddPage={navbarHighlights.addMapOrPin}
$layoutWidth={$layoutWidth}
>
{NAV_ITEMS.map((item) => {
return (
<NavbarItem
key={item.key}
label={item.label}
icon={item.icon}
focusIcon={item.focusIcon}
isHighlighted={navbarHighlights[item.key]}
onClick={() => routingHandlers[item.key]()}
$layoutWidth={$layoutWidth}
/>
);
})}
</Wrapper>

<Modal
modalKey="addMapOrPin"
Expand Down

0 comments on commit e6aba04

Please sign in to comment.