mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 23:31:21 +02:00
Lazy load routes
This commit is contained in:
@@ -13,7 +13,7 @@ type Params = {
|
||||
requestId?: string;
|
||||
};
|
||||
|
||||
export function Workspace() {
|
||||
export default function Workspace() {
|
||||
const params = useParams<Params>();
|
||||
const workspaceId = params?.workspaceId ?? '';
|
||||
const { data: requests } = useRequests(workspaceId);
|
||||
|
||||
Reference in New Issue
Block a user