redirect to home page on wrong url

This commit is contained in:
anovazzi1 2023-06-15 15:36:10 -03:00
commit 312766a598

View file

@ -11,6 +11,7 @@ const Router = () => {
<Route path="/flow/:id/"> <Route path="/flow/:id/">
<Route path="" element={<FlowPage />} /> <Route path="" element={<FlowPage />} />
</Route> </Route>
<Route path="*" element={<HomePage/>}/>
</Routes> </Routes>
); );
}; };