mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -6,8 +6,8 @@ import * as styles from './calendar.css';
|
||||
import { DATE_MAX, DATE_MIN } from './constants';
|
||||
import { DayPicker } from './day-picker';
|
||||
import { MonthPicker } from './month-picker';
|
||||
import type { SelectMode } from './types';
|
||||
import { type DatePickerProps, defaultDatePickerProps } from './types';
|
||||
import type { DatePickerProps, SelectMode } from './types';
|
||||
import { defaultDatePickerProps } from './types';
|
||||
import { YearPicker } from './year-picker';
|
||||
|
||||
export type { DatePickerProps } from './types';
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons';
|
||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||
import clsx from 'clsx';
|
||||
import {
|
||||
forwardRef,
|
||||
type HTMLAttributes,
|
||||
memo,
|
||||
type PropsWithChildren,
|
||||
type ReactNode,
|
||||
} from 'react';
|
||||
import type { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
||||
import { forwardRef, memo } from 'react';
|
||||
|
||||
import { IconButton } from '../../button';
|
||||
import * as styles from './calendar.css';
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons';
|
||||
import clsx from 'clsx';
|
||||
import dayjs from 'dayjs';
|
||||
import type { ForwardedRef, HTMLAttributes } from 'react';
|
||||
import {
|
||||
type ForwardedRef,
|
||||
type HTMLAttributes,
|
||||
memo,
|
||||
useCallback,
|
||||
useEffect,
|
||||
|
||||
Reference in New Issue
Block a user