Skip to content

Commit a32a93d

Browse files
committed
feat: remove unused imports and simplify state management in Alerts component
1 parent d79599f commit a32a93d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/components/Tabs/Alerts/Alerts.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import { toast } from "sonner";
66
import AlertItem from "./AlertItem";
77
import AlertFilter from "./AlertFilter";
88
import SubscriptionManager from "./SubscriptionManager";
9-
import { Button } from "@/components/ui/button";
109
import { Badge } from "@/components/ui/badge";
11-
import { Settings } from "lucide-react";
1210

1311
type AlertViewMode = "all" | "my";
1412

@@ -30,7 +28,7 @@ const Alerts = () => {
3028
const [alerts, setAlerts] = useState<Alert[]>([]);
3129
const [viewMode, setViewMode] = useState<AlertViewMode>("all");
3230
const [selectedCategory, setSelectedCategory] = useState<AlertCategory | undefined>(undefined);
33-
const [showSubscriptionManager, setShowSubscriptionManager] = useState(false);
31+
const showSubscriptionManager = false;
3432

3533
// 공지사항 목록 가져오기
3634
const fetchAlerts = useCallback(async () => {

0 commit comments

Comments
 (0)