style: enable import-x/no-duplicates (#6279)

This commit is contained in:
EYHN
2024-03-25 03:55:32 +00:00
parent 7ce2bfbf0b
commit f2adbdaba4
342 changed files with 881 additions and 1033 deletions
@@ -1,9 +1,10 @@
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { passwordStrength } from 'check-password-strength';
import { type FC, useEffect } from 'react';
import { useCallback, useState } from 'react';
import type { FC } from 'react';
import { useCallback, useEffect, useState } from 'react';
import { Input, type InputProps } from '../../../ui/input';
import type { InputProps } from '../../../ui/input';
import { Input } from '../../../ui/input';
import * as styles from '../share.css';
import { ErrorIcon } from './error';
import { SuccessIcon } from './success';
@@ -1,5 +1,6 @@
import clsx from 'clsx';
import { type FC, useMemo } from 'react';
import type { FC } from 'react';
import { useMemo } from 'react';
import type { Status } from './index';
import { tag } from './style.css';