Created short URLs component

This commit is contained in:
Alejandro Celaya
2018-07-20 22:32:50 +02:00
parent 3b104b0ead
commit b2fa86a917
6 changed files with 16 additions and 5 deletions

View File

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