summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 8af383e..4ec1db0 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -10,6 +10,8 @@ import Header from './components/Header';
import Home from './containers/Home';
import Products from './containers/Products';
import ProductForm from './containers/ProductForm';
+import Contractors from './containers/Contractors';
+import ContractorForm from './containers/ContractorForm';
const navigation = [
{ name: 'Главная', route: '/' },
@@ -26,6 +28,9 @@ const App: React.FC = () => (
<Route exact path="/products" component={Products} />
<Route exact path="/products/add" component={ProductForm} />
<Route exact path="/products/edit/:id" component={ProductForm} />
+ <Route exact path="/contractors" component={Contractors} />
+ <Route exact path="/contractors/add" component={ContractorForm} />
+ <Route exact path="/contractors/edit/:id" component={ContractorForm} />
</Switch>
</Router>
);