Skip to content

Open the react application with your phone browser, show error #12758

@TonyGGC

Description

@TonyGGC

Current Behavior:
Open the react application with your phone browser, show error:

Warning: Failed prop type: Invalid prop children supplied to Switch, expected a ReactNode.
in Switch
Warning: Failed prop type: Invalid prop children supplied to HashRouter, expected a ReactNode.
in HashRouter
Warning: Failed prop type: Invalid prop children of type object supplied to Provider, expected a single ReactElement.
in Provider

my Environment:
"react": "^16.3.2",
"react-dom": "^16.2.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^4.0.0",

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