Skip to content

Tag: react-router-dom

Uncaught Error: Info(…): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 m…

How to show not found on base url

This is the code: App Base NotFound https://codesandbox.io/s/summer-sound-giti8c?file=/src/App.js I want that when someone goes to the base url say https://giti8c.csb.app/ then NotFound component should be rendered. Currently, only Base component renders on going to the base url. Answer I want that when someo…