mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 18:43:50 +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}
|
component={TagsList}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
component={
|
render={() => <NotFound to={`/server/${serverId}/list-short-urls/1`} btnText="List short URLs" />}
|
||||||
() => <NotFound to={`/server/${serverId}/list-short-urls/1`} btnText="List short URLs" />
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
</Switch>
|
</Switch>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user