mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 04:36:45 +00:00
Replaced component by render on route rendering not found component with custom props
This commit is contained in:
@@ -91,9 +91,7 @@ const MenuLayout = (TagsList, ShortUrls, AsideMenu, CreateShortUrl, ShortUrlVisi
|
||||
component={TagsList}
|
||||
/>
|
||||
<Route
|
||||
component={
|
||||
() => <NotFound to={`/server/${serverId}/list-short-urls/1`} btnText="List short URLs" />
|
||||
}
|
||||
render={() => <NotFound to={`/server/${serverId}/list-short-urls/1`} btnText="List short URLs" />}
|
||||
/>
|
||||
</Switch>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user