Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<Switch>
<Route
path={match.url}
render={() => <h3>Please select a message</h3>}
/>
<Route path={`${match.url}/:id(\\d+)`} component={Message} />
</Switch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.