mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 14:49:44 +08:00
chore: sort imports
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { cloneElement, useMemo, useCallback, type ReactElement } from 'react';
|
||||
import { styled } from '@toeverything/components/ui';
|
||||
import {
|
||||
CommentIcon,
|
||||
LayoutIcon,
|
||||
SettingsIcon,
|
||||
} from '@toeverything/components/icons';
|
||||
import { LayoutSettings } from '../Layout';
|
||||
import { styled } from '@toeverything/components/ui';
|
||||
import { cloneElement, useCallback, useMemo, type ReactElement } from 'react';
|
||||
import { Comments } from '../Comments';
|
||||
import { useActiveComment } from '../Comments/use-comments';
|
||||
import { LayoutSettings } from '../Layout';
|
||||
import { SettingsPanel } from '../Settings';
|
||||
import { TabItemTitle } from './TabItemTitle';
|
||||
import { useTabs } from './use-tabs';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ListIcon, ListItem, styled } from '@toeverything/components/ui';
|
||||
import type { ReactNode } from 'react';
|
||||
import { styled, ListItem, ListIcon } from '@toeverything/components/ui';
|
||||
|
||||
type TabItemTitleProps = {
|
||||
icon: ReactNode;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useRef, useEffect, useState, useMemo } from 'react';
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
function usePrevious<T>(value: T) {
|
||||
const ref = useRef<T>();
|
||||
|
||||
Reference in New Issue
Block a user