diff --git a/apps/web/src/actions/datasets/create.ts b/apps/web/src/actions/datasets/create.ts index 9ab2b9120..1b604fac4 100644 --- a/apps/web/src/actions/datasets/create.ts +++ b/apps/web/src/actions/datasets/create.ts @@ -35,5 +35,5 @@ export const createDatasetAction = authProcedure name: input.name, file: input.dataset_file, }, - }).then(r => r.unwrap()) + }).then((r) => r.unwrap()) }) diff --git a/apps/web/src/app/(private)/dashboard/layout.tsx b/apps/web/src/app/(private)/dashboard/layout.tsx index c17e5bd60..84fc17ed0 100644 --- a/apps/web/src/app/(private)/dashboard/layout.tsx +++ b/apps/web/src/app/(private)/dashboard/layout.tsx @@ -46,33 +46,29 @@ export default async function DashboardLayout({ > {children} -
- + Add project + + } + /> + {projects.length > 0 && ( + + )} + {projects.length === 0 && ( + - Add project + + Create your first project + } /> -
- {projects.length > 0 && ( - - )} - {projects.length === 0 && ( - - - Create your first project - - - } - /> - )} -
-
+ )}
) diff --git a/apps/web/src/app/(private)/datasets/_components/DatasetsTable/index.tsx b/apps/web/src/app/(private)/datasets/_components/DatasetsTable/index.tsx index 16614e956..71e02c216 100644 --- a/apps/web/src/app/(private)/datasets/_components/DatasetsTable/index.tsx +++ b/apps/web/src/app/(private)/datasets/_components/DatasetsTable/index.tsx @@ -44,7 +44,10 @@ export function DatasetsTable({ {dataset.fileMetadata.headers.length} -