Lazy load routes

This commit is contained in:
Gregory Schier
2023-03-13 13:56:13 -07:00
parent c6653af782
commit cf5f69271f
6 changed files with 29 additions and 29 deletions

View File

@@ -3,7 +3,7 @@ import { Heading } from '../components/Heading';
import { VStack } from '../components/Stacks';
import { useWorkspaces } from '../hooks/useWorkspaces';
export function Workspaces() {
export default function Workspaces() {
const workspaces = useWorkspaces();
return (
<VStack as="ul" className="p-12">