fix(client): resolve React import errors
This commit is contained in:
parent
448d9548b6
commit
86c655b97b
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 />;
|
||||
|
|
|
|||
Loading…
Reference in New Issue