diff --git a/src/components/layouts/DashboardLayout.jsx b/src/components/layouts/DashboardLayout.jsx index f5663fc..0730abc 100644 --- a/src/components/layouts/DashboardLayout.jsx +++ b/src/components/layouts/DashboardLayout.jsx @@ -81,7 +81,7 @@ export const DashboardLayout = ({ location }) => { } if (isError) { - navigate('/'); + navigate(-1); } }, [isLoading, isError]);