summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 4972454..8af383e 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -25,6 +25,7 @@ const App: React.FC = () => (
<Route exact path="/" component={Home} />
<Route exact path="/products" component={Products} />
<Route exact path="/products/add" component={ProductForm} />
+ <Route exact path="/products/edit/:id" component={ProductForm} />
</Switch>
</Router>
);