diff --git a/src/components/routes.tsx b/src/components/routes.tsx index 16861b9..395bd31 100644 --- a/src/components/routes.tsx +++ b/src/components/routes.tsx @@ -74,6 +74,7 @@ export const Routes: React.FC = ({ window.scrollTo(0, 0) } + setError(null) setRouteData((previousData) => ({...previousData, ...data})) setCurrentLocation(location) onChangeMetaData?.(meta)