Skip to content

Error on build, state is undefined #1

@intelligence

Description

@intelligence

Hello!

First and foremost, thanks for this resource!

I've implemented this in my app and it's been working great while in development, but now when I try to build my project I'm having some troubles.

  53 | 
  54 |   return (
> 55 |     <Menu state={state} menuNavigation={state.menuNavigation}>
     |                                               ^
  56 |       <Inner>
  57 |         <MenuLocal />
  58 |         <MenuGlobal />


  WebpackError: TypeError: Cannot read property 'menuNavigation' of undefined

Any idea for a fix?

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