fix(client): resolve React import errors

This commit is contained in:
perf3ct 2025-06-23 16:27:34 +00:00
parent 448d9548b6
commit 86c655b97b
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 LabelsPage from './pages/LabelsPage';
function App(): JSX.Element {
function App(): React.ReactElement {
const { user, loading } = useAuth();
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) {
case 'active': return <CheckCircleIcon />;
case 'error': return <ErrorIcon />;