Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't 'run build' as downloaded #166

Open
bigbadbrad opened this issue May 8, 2024 · 0 comments
Open

doesn't 'run build' as downloaded #166

bigbadbrad opened this issue May 8, 2024 · 0 comments

Comments

@bigbadbrad
Copy link

the error:
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ..Failed to compile.

./src/components/dashboard/layout/mobile-nav.tsx:88:27
Type error: Type 'string | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.

86 | <Divider sx={{ borderColor: 'var(--mui-palette-neutral-700)' }} />
87 | <Box component="nav" sx={{ flex: '1 1 auto', p: '12px' }}>

88 | {renderNavItems({ pathname, items: navItems })}
| ^
89 |
90 | <Divider sx={{ borderColor: 'var(--mui-palette-neutral-700)' }} />
91 | <Stack spacing={2} sx={{ p: '12px' }}>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant