fix(client): resolve React import errors

This commit is contained in:
perf3ct 2025-06-23 16:27:34 +00:00
parent 6ad5276a04
commit 3d93c96c31
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import WatchFolderPage from './pages/WatchFolderPage';
import FailedOcrPage from './pages/FailedOcrPage'; import FailedOcrPage from './pages/FailedOcrPage';
import LabelsPage from './pages/LabelsPage'; import LabelsPage from './pages/LabelsPage';
function App(): JSX.Element { function App(): React.ReactElement {
const { user, loading } = useAuth(); const { user, loading } = useAuth();
if (loading) { if (loading) {

View File

@ -126,7 +126,7 @@ const WatchFolderPage: React.FC = () => {
} }
}; };
const getStatusIcon = (status: string): JSX.Element => { const getStatusIcon = (status: string): React.ReactElement => {
switch (status) { switch (status) {
case 'active': return <CheckCircleIcon />; case 'active': return <CheckCircleIcon />;
case 'error': return <ErrorIcon />; case 'error': return <ErrorIcon />;