Skip to content

Commit

Permalink
style: clear Fragment import
Browse files Browse the repository at this point in the history
  • Loading branch information
busy-mango committed Sep 25, 2024
1 parent ab8e444 commit 3f99dc8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/business/ifeedbacks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @description boundary error widgets
*/

import { Fragment } from 'react/jsx-runtime';
import { Fragment } from 'react';
import type { TranslationProps } from 'react-i18next';
import { Translation } from 'react-i18next';

Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/scrollable/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {
import {
forwardRef,
useImperativeHandle,
useLayoutEffect,
Expand Down
1 change: 0 additions & 1 deletion src/components/widgets/spinners/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import type { SVGMotionProps, Target } from 'framer-motion';
import { motion } from 'framer-motion';

Expand Down
3 changes: 1 addition & 2 deletions src/examples/chip/watch.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useMemo } from 'react';
import { Fragment } from 'react/jsx-runtime';
import { Fragment, useMemo } from 'react';
import { Translation, useTranslation } from 'react-i18next';

import { MIN2MS } from '@busymango/utils';
Expand Down
3 changes: 1 addition & 2 deletions src/examples/selector/promise.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useMemo, useState } from 'react';
import { Fragment } from 'react/jsx-runtime';
import { Fragment, useMemo, useState } from 'react';

import { iArray, iSearchParams, sleep } from '@busymango/utils';
import { useQuery } from '@tanstack/react-query';
Expand Down

0 comments on commit 3f99dc8

Please sign in to comment.