diff --git a/client/src/pages/TaskDetail.tsx b/client/src/pages/TaskDetail.tsx index d65fcaa..676a3c5 100644 --- a/client/src/pages/TaskDetail.tsx +++ b/client/src/pages/TaskDetail.tsx @@ -2,7 +2,6 @@ import { useState, useEffect, useRef, useMemo, useCallback } from 'react'; import { useParams, useLocation } from 'wouter'; import { useQuery, useMutation } from '@tanstack/react-query'; import Layout from '@/components/Layout'; -import { Sidebar } from '@/components/Sidebar'; import { Button } from '@/components/ui/button'; import { ArrowLeft } from 'lucide-react'; import { Link } from 'wouter'; @@ -696,7 +695,8 @@ const TaskDetail = () => { ); return ( - + // Хром (Sidebar) предоставляет AppShell — здесь только контент страницы + <>
{/* Offline cache banner */} {isUsingOfflineCache && cacheTimestamp && ( @@ -801,7 +801,7 @@ const TaskDetail = () => { /> {/* (debug overlay removed) */} - + ); }; diff --git a/client/src/pages/TaskView.tsx b/client/src/pages/TaskView.tsx index b416cd0..9e9467e 100644 --- a/client/src/pages/TaskView.tsx +++ b/client/src/pages/TaskView.tsx @@ -5,7 +5,6 @@ import { apiRequest, queryClient } from '@/lib/queryClient'; import { useToast } from '@/hooks/use-toast'; import { useEvents } from '@/hooks/useEvents'; import Layout from '@/components/Layout'; -import { Sidebar } from '@/components/Sidebar'; import { Button } from '@/components/ui/button'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '@/components/ui/dialog'; @@ -402,7 +401,8 @@ const TaskView = () => { } return ( - + // Хром (Sidebar) предоставляет AppShell — здесь только контент страницы + <>
{/* Компактная шапка */}
@@ -589,7 +589,7 @@ const TaskView = () => {
- + ); };