Skip to content

Commit

Permalink
fix: incorrect stack props on NavBar (#6838)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture authored May 7, 2024
1 parent da0111d commit 03c398d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/Header/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type NavBarProps = {
const flex = { base: 'none', md: '1 1 0%' }

export const NavBar = (props: NavBarProps) => {
const { isCompact, onClick, ...stackProps } = useMemo(() => {
const { isCompact, onClick, stackProps } = useMemo(() => {
const { isCompact, onClick, ...stackProps } = props
return { isCompact, onClick, stackProps }
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down

0 comments on commit 03c398d

Please sign in to comment.