chore: sort imports

This commit is contained in:
DarkSky
2022-08-13 03:16:26 +08:00
parent 5462b1707f
commit 754b2581cd
198 changed files with 839 additions and 917 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
export * from './page';
export * from './ui';
export * from './user';
export * from './page';
+2 -2
View File
@@ -1,6 +1,6 @@
import { useCallback, useEffect } from 'react';
import { useParams, useLocation } from 'react-router-dom';
import { atom, useAtom } from 'jotai';
import { useEffect } from 'react';
import { useLocation, useParams } from 'react-router-dom';
// import { Virgo } from '@toeverything/components/editor-core';
// type EditorsMap = Record<string, Virgo>;
+1 -1
View File
@@ -1,5 +1,5 @@
import { useCallback } from 'react';
import { atom, useAtom } from 'jotai';
import { useCallback } from 'react';
const _showSpaceSidebarAtom = atom<boolean>(true);
const _fixedDisplayAtom = atom<boolean>(true);
+1 -1
View File
@@ -1,4 +1,3 @@
import { useNavigate } from 'react-router';
import {
getAuth,
onAuthStateChanged,
@@ -6,6 +5,7 @@ import {
} from 'firebase/auth';
import { atom, useAtom } from 'jotai';
import { useEffect, useMemo } from 'react';
import { useNavigate } from 'react-router';
import { useIdentifyUser } from '@toeverything/datasource/feature-flags';
import { UserInfo } from '@toeverything/utils';