From 625f33a076d1f078825650a152fb65200bf790a3 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Thu, 29 Aug 2024 14:07:13 +0600 Subject: [PATCH] feat: personal dashboard --- src/components/Dashboard/DashboardPage.tsx | 6 ++---- src/layouts/BaseLayout.astro | 4 +++- src/pages/dashboard.astro | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/Dashboard/DashboardPage.tsx b/src/components/Dashboard/DashboardPage.tsx index 2644c555f..c1cc27a1c 100644 --- a/src/components/Dashboard/DashboardPage.tsx +++ b/src/components/Dashboard/DashboardPage.tsx @@ -1,11 +1,9 @@ -import { useEffect, useState, type ReactNode } from 'react'; +import { useEffect, useState } from 'react'; import { httpGet } from '../../lib/http'; -import type { UserProgress } from '../TeamProgress/TeamProgressPage'; import { useToast } from '../../hooks/use-toast'; import { useStore } from '@nanostores/react'; import { $teamList } from '../../stores/team'; import type { TeamListResponse } from '../TeamDropdown/TeamDropdown'; -import { cn } from '../../lib/classname'; import { DashboardTab } from './DashboardTab'; import { PersonalDashboard } from './PersonalDashboard'; @@ -39,7 +37,7 @@ export function DashboardPage(props: DashboardPageProps) { }, []); return ( -
+
- + + +