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,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>();