fix(frontend): remove unused default React imports and use typed FC/FormEvent where needed

This commit is contained in:
GitHub Actions
2025-11-30 00:42:48 +00:00
parent 5ee1feed64
commit dc0c8c42ac
6 changed files with 19 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
import React, { useState } from 'react';
import { useState, type FC } from 'react';
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import { Bell, X, Info, AlertTriangle, AlertCircle, CheckCircle, ExternalLink } from 'lucide-react';
import { getNotifications, markNotificationRead, markAllNotificationsRead, checkUpdates } from '../api/system';
const NotificationCenter: React.FC = () => {
const NotificationCenter: FC = () => {
const [isOpen, setIsOpen] = useState(false);
const queryClient = useQueryClient();