Remove .tsx
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import router from '@/router'
|
||||
import LoadingMask from '@/components/common/LoadingMask.tsx'
|
||||
import LoadingMask from '@/components/common/LoadingMask'
|
||||
|
||||
const App: React.FC = () => {
|
||||
return (
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from 'react'
|
||||
import FitCenter from '@/components/common/FitCenter.tsx'
|
||||
import FitCenter from '@/components/common/FitCenter'
|
||||
import Icon from '@ant-design/icons'
|
||||
import '@/assets/css/components/home/footer.scss'
|
||||
import FitFullScreen from '@/components/common/FitFullScreen.tsx'
|
||||
import FitFullScreen from '@/components/common/FitFullScreen'
|
||||
import { NavLink } from 'react-router-dom'
|
||||
|
||||
const Footer: React.FC = () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import FitCenter from '@/components/common/FitCenter.tsx'
|
||||
import FitCenter from '@/components/common/FitCenter'
|
||||
|
||||
const OxygenToolbox: React.FC = () => {
|
||||
return (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import Icon from '@ant-design/icons'
|
||||
import '@/assets/css/components/home/slogan.scss'
|
||||
import FitCenter from '@/components/common/FitCenter.tsx'
|
||||
import FitCenter from '@/components/common/FitCenter'
|
||||
|
||||
interface SloganProps {
|
||||
onClickScrollDown: (event: React.MouseEvent) => void
|
||||
|
||||
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client'
|
||||
import zh_CN from 'antd/locale/zh_CN'
|
||||
import '@/assets/css/base.scss'
|
||||
import '@/assets/css/common.scss'
|
||||
import App from './App.tsx'
|
||||
import App from './App'
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
<React.StrictMode>
|
||||
|
||||
Reference in New Issue
Block a user