Created more components for the short URLs list

This commit is contained in:
Alejandro Celaya
2018-06-17 10:59:04 +02:00
parent 853212b419
commit 6587a08ed1
8 changed files with 143 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import ShortUrlsList from '../short-urls/ShortUrlsList';
import ShortUrls from '../short-urls/ShortUrls';
import AsideMenu from './AsideMenu';
export default function MenuLayout() {
@@ -11,7 +11,7 @@ export default function MenuLayout() {
<Switch>
<Route exact
path="/server/:serverId/list-short-urls/:page"
component={ShortUrlsList}
component={ShortUrls}
/>
</Switch>
</div>