From f63a00a9f7cf79a523d25b176db892ef6024897d Mon Sep 17 00:00:00 2001 From: Oliver Sylvester-Bradley Date: Fri, 18 Jul 2025 15:59:08 +0100 Subject: [PATCH] Fix TypeScript build errors by removing unused imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unused PostAdd imports from DashboardLayout and BottomNavigation - Remove unused Avatar, Chip, Groups imports from SocialContractPage - Remove unused Divider, FolderShared imports from GroupDetailPage - Build now passes all TypeScript checks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/components/layout/DashboardLayout.tsx | 1 - src/components/navigation/BottomNavigation.tsx | 1 - src/pages/GroupDetailPage.tsx | 2 -- src/pages/SocialContractPage.tsx | 3 --- 4 files changed, 7 deletions(-) diff --git a/src/components/layout/DashboardLayout.tsx b/src/components/layout/DashboardLayout.tsx index 74bf625..b0c61f0 100644 --- a/src/components/layout/DashboardLayout.tsx +++ b/src/components/layout/DashboardLayout.tsx @@ -30,7 +30,6 @@ import { SearchRounded, Groups, RssFeed, - PostAdd, Chat, ExpandLess, ExpandMore, diff --git a/src/components/navigation/BottomNavigation.tsx b/src/components/navigation/BottomNavigation.tsx index 1e18313..8e165f3 100644 --- a/src/components/navigation/BottomNavigation.tsx +++ b/src/components/navigation/BottomNavigation.tsx @@ -7,7 +7,6 @@ import { import { RssFeed, Hub, - PostAdd, Chat, Groups, } from '@mui/icons-material'; diff --git a/src/pages/GroupDetailPage.tsx b/src/pages/GroupDetailPage.tsx index b38d888..fa2f2b1 100644 --- a/src/pages/GroupDetailPage.tsx +++ b/src/pages/GroupDetailPage.tsx @@ -11,7 +11,6 @@ import { IconButton, Button, Chip, - Divider, Badge, alpha, useTheme @@ -27,7 +26,6 @@ import { Comment, Share, MoreVert, - FolderShared, Description, TableChart, PersonAdd diff --git a/src/pages/SocialContractPage.tsx b/src/pages/SocialContractPage.tsx index 1c349e6..0060b96 100644 --- a/src/pages/SocialContractPage.tsx +++ b/src/pages/SocialContractPage.tsx @@ -6,8 +6,6 @@ import { Box, Paper, Button, - Avatar, - Chip, Dialog, DialogTitle, DialogContent, @@ -22,7 +20,6 @@ import { } from '@mui/material'; import { Security, - Groups, Favorite, Psychology, AccountTree,