Skip to content

Commit

Permalink
fix(app): RootRedirect component replaced with redirect call
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarDev committed Jan 4, 2024
1 parent b349ee5 commit 26cfa27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 3 additions & 7 deletions web/apps/app/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { Suspense } from 'react';
import { RootRedirect } from '../components/RootRedirect';
import { redirect } from 'next/navigation';
import { KnownPages } from '../src/knownPages';

export default function Dashboard() {
return (
<Suspense>
<RootRedirect />
</Suspense>
);
redirect(KnownPages.Spaces);
}
6 changes: 0 additions & 6 deletions web/apps/app/components/RootRedirect.tsx

This file was deleted.

0 comments on commit 26cfa27

Please sign in to comment.