diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 14f8745..8c11834 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -17,7 +17,7 @@ import WatchFolderPage from './pages/WatchFolderPage'; import FailedOcrPage from './pages/FailedOcrPage'; import LabelsPage from './pages/LabelsPage'; -function App(): JSX.Element { +function App(): React.ReactElement { const { user, loading } = useAuth(); if (loading) { diff --git a/frontend/src/pages/WatchFolderPage.tsx b/frontend/src/pages/WatchFolderPage.tsx index eebd974..8ace645 100644 --- a/frontend/src/pages/WatchFolderPage.tsx +++ b/frontend/src/pages/WatchFolderPage.tsx @@ -126,7 +126,7 @@ const WatchFolderPage: React.FC = () => { } }; - const getStatusIcon = (status: string): JSX.Element => { + const getStatusIcon = (status: string): React.ReactElement => { switch (status) { case 'active': return ; case 'error': return ;