chore: organizeImports

This commit is contained in:
DarkSky
2022-08-13 02:08:21 +08:00
parent 5cec5a363d
commit 617f9b9bfc
27 changed files with 63 additions and 77 deletions
@@ -1,16 +1,12 @@
import { Guard as AuthingGuard } from '@authing/react-ui-components';
import { MuiBox as Box } from '@toeverything/components/ui';
import type { User as AuthingUser } from 'authing-js-sdk';
import { useCallback, useEffect, useMemo } from 'react';
import { useNavigate } from 'react-router-dom';
import style9 from 'style9';
import { MuiBox as Box } from '@toeverything/components/ui';
import { Guard as AuthingGuard } from '@authing/react-ui-components';
import type { User as AuthingUser } from 'authing-js-sdk';
import {
AUTHING_APP_ID_US,
AUTHING_APP_ID_CN,
AUTHING_APP_HOST_US,
} from '@toeverything/utils';
import { useUserAndSpaces } from '@toeverything/datasource/state';
import { AUTHING_APP_HOST_US, AUTHING_APP_ID_US } from '@toeverything/utils';
import '@authing/react-ui-components/lib/index.min.css';
@@ -1,5 +1,4 @@
/* eslint-disable filename-rules/match */
import { useEffect, useMemo } from 'react';
import { useMemo } from 'react';
import { LogoIcon } from '@toeverything/components/icons';
import { MuiButton } from '@toeverything/components/ui';
@@ -1,12 +1,11 @@
/* eslint-disable filename-rules/match */
import { useCallback, useMemo } from 'react';
import { initializeApp } from 'firebase/app';
import {
GoogleAuthProvider,
getAuth,
signInWithPopup,
browserLocalPersistence,
getAuth,
GoogleAuthProvider,
signInWithPopup,
} from 'firebase/auth';
import { useCallback, useMemo } from 'react';
import { MuiButton } from '@toeverything/components/ui';
+4 -5
View File
@@ -1,12 +1,11 @@
/* eslint-disable filename-rules/match */
import { useCallback, useState } from 'react';
import { LogoImg } from '@toeverything/components/common';
import { MuiBox, MuiGrid, MuiSnackbar } from '@toeverything/components/ui';
import { useCallback, useState } from 'react';
// import { Authing } from './authing';
import { Firebase } from './firebase';
import { FileSystem } from './fs';
import { Error } from './../error';
// import { Authing } from './Authing';
import { FileSystem } from './FileSystem';
import { Firebase } from './Firebase';
export function Login() {
const [error, setError] = useState(false);