mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Replaced component by render on route rendering not found component with custom props
This commit is contained in:
parent
c4bc2f24d6
commit
780e4a6e9e
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue