diff --git a/src/App.tsx b/src/App.tsx index 347433a..e473af5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -112,11 +112,11 @@ const OptionalAuthRoute = ({ children }: { children: React.ReactNode }) => { }; /** - * Component to redirect board URLs without trailing slashes + * Component to redirect old /board/:slug URLs to clean /:slug/ URLs */ const RedirectBoardSlug = () => { const { slug } = useParams<{ slug: string }>(); - return ; + return ; }; @@ -181,11 +181,7 @@ const AppWithProviders = () => { } /> - - - - } /> + } />