Skip to content

Commit 2362bd6

Browse files
committed
fix type
1 parent 72e6a0e commit 2362bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SidebarNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const SidebarNav = styled(
154154
setNavAnimation(value ? "collapsing" : "expanding");
155155
};
156156

157-
const MaybeModal = ({ children }: React.PropsWithChildren<{}>) =>
157+
const MaybeModal = ({ children }: React.PropsWithChildren<React.ReactNode>) =>
158158
isMobile && !navIsCollapsed ? (
159159
<StyledModal
160160
data-testid="sidebarnav-modal"

0 commit comments

Comments
 (0)