Streamline user interface by removing unused components and hooks
Removes unused components, hooks, and state variables in Dashboard, Focus, and Landing pages. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 6bac2659-689a-442d-ae16-f45f8d1450c7 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/41d8b5bb-a823-42b7-84fd-d2a58c1a51a2.jpg
This commit is contained in:
@@ -12,14 +12,14 @@ import { useNotifications } from "@/context/NotificationProvider";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { CardSkeleton, PageSkeleton } from "@/components/ui/loading-skeleton";
|
||||
|
||||
import {
|
||||
Calendar,
|
||||
DollarSign,
|
||||
Mic,
|
||||
Brain,
|
||||
Activity,
|
||||
TrendingUp,
|
||||
|
||||
Zap,
|
||||
HelpCircle
|
||||
} from "lucide-react";
|
||||
@@ -28,9 +28,8 @@ import { useTourManager, getMainTourSteps } from "@/components/onboarding/TourMa
|
||||
export default function DashboardPage() {
|
||||
const { user, isLoading } = useAuth();
|
||||
const [, setLocation] = useLocation();
|
||||
const [commandPaletteOpen, setCommandPaletteOpen] = useState(false);
|
||||
const { isListening, speak } = useVoiceContext();
|
||||
const { unreadCount } = useNotifications();
|
||||
useVoiceContext();
|
||||
useNotifications();
|
||||
const { startTour } = useTourManager();
|
||||
|
||||
const handleStartTour = () => {
|
||||
|
||||
@@ -9,7 +9,7 @@ import Sidebar from "@/components/layout/Sidebar";
|
||||
import FocusMode from "@/components/focus/FocusMode";
|
||||
|
||||
export default function FocusPage() {
|
||||
const { t } = useTranslation();
|
||||
useTranslation();
|
||||
const [isFocusModeOpen, setIsFocusModeOpen] = useState(false);
|
||||
|
||||
return (
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Card, CardContent } from "@/components/ui/card";
|
||||
import DailyJoke from "@/components/ai/DailyJoke";
|
||||
import VoiceIndicator from "@/components/voice/VoiceIndicator";
|
||||
import Header from "@/components/layout/Header";
|
||||
import { useTheme } from "@/context/ThemeContext";
|
||||
|
||||
import {
|
||||
Mic,
|
||||
Volume2,
|
||||
|
||||
Reference in New Issue
Block a user