mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Switch, type SwitchProps } from './index';
|
||||
import type { SwitchProps } from './index';
|
||||
import { Switch } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Switch',
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
// components/switch.tsx
|
||||
import clsx from 'clsx';
|
||||
import {
|
||||
type HTMLAttributes,
|
||||
type ReactNode,
|
||||
useCallback,
|
||||
useState,
|
||||
} from 'react';
|
||||
import type { HTMLAttributes, ReactNode } from 'react';
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
import * as styles from './index.css';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user