mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -11,7 +11,7 @@ type WorkspaceSearchSchema = {
|
||||
| {
|
||||
folder_id: string;
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
// biome-ignore lint/complexity/noBannedTypes: Needed to support empty
|
||||
| {}
|
||||
);
|
||||
|
||||
@@ -27,11 +27,11 @@ export const Route = createFileRoute('/workspaces/$workspaceId/')({
|
||||
const folderId = search.folder_id as string | undefined;
|
||||
if (requestId != null) {
|
||||
return { ...base, request_id: requestId };
|
||||
} else if (folderId) {
|
||||
return { ...base, folder_id: folderId };
|
||||
} else {
|
||||
return base;
|
||||
}
|
||||
if (folderId) {
|
||||
return { ...base, folder_id: folderId };
|
||||
}
|
||||
return base;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user