mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
chore: sort imports
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export * from './page';
|
||||
export * from './ui';
|
||||
export * from './user';
|
||||
export * from './page';
|
||||
|
||||
@@ -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,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,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';
|
||||
|
||||
Reference in New Issue
Block a user