Skip to content

Invalid context router of type object supplied to NavBar, expected function. #91

Closed
@etodanik

Description

@etodanik

Am I missing something. I get this set of warnings all the time:

[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavBar`, expected `function`. Check the render method of `App`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavBar`, expected `function`. Check the render method of `App`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.
[1] Warning: Failed Context Types: Invalid context `router` of type `object` supplied to `NavItemLink`, expected `function`. Check the render method of `NavBar`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions