diff options
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx index 0b6f723..4972454 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -9,6 +9,7 @@ import { import Header from './components/Header'; import Home from './containers/Home'; import Products from './containers/Products'; +import ProductForm from './containers/ProductForm'; const navigation = [ { name: 'Главная', route: '/' }, @@ -23,6 +24,7 @@ const App: React.FC = () => ( <Switch> <Route exact path="/" component={Home} /> <Route exact path="/products" component={Products} /> + <Route exact path="/products/add" component={ProductForm} /> </Switch> </Router> ); |