redirect to home page on wrong url
This commit is contained in:
parent
7d897929b3
commit
312766a598
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ const Router = () => {
|
|||
<Route path="/flow/:id/">
|
||||
<Route path="" element={<FlowPage />} />
|
||||
</Route>
|
||||
<Route path="*" element={<HomePage/>}/>
|
||||
</Routes>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue