diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 06:30:22 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 06:30:22 +0300 |
commit | 610584c3ce986cdea431180f545e023cee14d5d2 (patch) | |
tree | a4c1b2a3de7b4ccf7cef8a4bdf5d366cc62492b5 /src/index.tsx | |
parent | 790cb41dfe3283fea96789fbacc28a077c474e44 (diff) | |
download | commercel-ui-610584c3ce986cdea431180f545e023cee14d5d2.tar.gz |
feat: implement Product Add/Edit
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 1 |
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> ); |