summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-14 06:30:22 +0300
committereug-vs <eug-vs@keemail.me>2021-03-14 06:30:22 +0300
commit610584c3ce986cdea431180f545e023cee14d5d2 (patch)
treea4c1b2a3de7b4ccf7cef8a4bdf5d366cc62492b5 /src/index.tsx
parent790cb41dfe3283fea96789fbacc28a077c474e44 (diff)
downloadcommercel-ui-610584c3ce986cdea431180f545e023cee14d5d2.tar.gz
feat: implement Product Add/Edit
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>
);