Skip to content

doesn't 'run build' as downloaded #166

@bigbadbrad

Description

@bigbadbrad

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' }}>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions