From 6421c343a4abd9989cd09d5f5eac86d01461145d Mon Sep 17 00:00:00 2001 From: sunyiteng Date: Fri, 20 Dec 2024 11:33:17 +0800 Subject: [PATCH] chore: remove /index --- examples/preact-component-bundle-false/src/index.tsx | 2 +- examples/react-component-bundle-false/src/index.tsx | 2 +- examples/react-component-bundle/src/index.tsx | 2 +- examples/react-component-umd/src/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/preact-component-bundle-false/src/index.tsx b/examples/preact-component-bundle-false/src/index.tsx index 08aa464e8..aa4a0608c 100644 --- a/examples/preact-component-bundle-false/src/index.tsx +++ b/examples/preact-component-bundle-false/src/index.tsx @@ -1,5 +1,5 @@ import type { FunctionComponent } from 'preact'; -import { CounterButton } from './components/CounterButton/index'; +import { CounterButton } from './components/CounterButton'; import { useCounter } from './useCounter'; import './index.scss'; diff --git a/examples/react-component-bundle-false/src/index.tsx b/examples/react-component-bundle-false/src/index.tsx index b9ceb8718..eb6493c95 100644 --- a/examples/react-component-bundle-false/src/index.tsx +++ b/examples/react-component-bundle-false/src/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { CounterButton } from './components/CounterButton/index'; +import { CounterButton } from './components/CounterButton'; import { useCounter } from './useCounter'; import './index.scss'; diff --git a/examples/react-component-bundle/src/index.tsx b/examples/react-component-bundle/src/index.tsx index b9ceb8718..eb6493c95 100644 --- a/examples/react-component-bundle/src/index.tsx +++ b/examples/react-component-bundle/src/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { CounterButton } from './components/CounterButton/index'; +import { CounterButton } from './components/CounterButton'; import { useCounter } from './useCounter'; import './index.scss'; diff --git a/examples/react-component-umd/src/index.tsx b/examples/react-component-umd/src/index.tsx index b7e472bb2..bd1f81c14 100644 --- a/examples/react-component-umd/src/index.tsx +++ b/examples/react-component-umd/src/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { CounterButton } from './components/CounterButton/index'; +import { CounterButton } from './components/CounterButton'; import { useCounter } from './useCounter'; import './index.scss';