From 6e328e8a0f66362c3b8fdc02329724c70458661e Mon Sep 17 00:00:00 2001 From: Diana Nanyanzi Date: Fri, 20 Dec 2024 20:49:26 +0300 Subject: [PATCH] chore: fix import file case --- src/App.tsx | 4 ++-- src/components/keys/Keys.tsx | 2 +- src/routes/layout.tsx | 2 +- src/routes/router.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index bdfee63..aa18058 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ import React, { FC } from 'react' import { RouterProvider } from 'react-router-dom' -import AppWrapper from './components/AppWrapper' -import { router } from './routes/Router' +import AppWrapper from './components/appWrapper' +import { router } from './routes/router' const App: FC = () => { return ( diff --git a/src/components/keys/Keys.tsx b/src/components/keys/Keys.tsx index 1eaa45c..b44519b 100644 --- a/src/components/keys/Keys.tsx +++ b/src/components/keys/Keys.tsx @@ -1,5 +1,5 @@ import React from 'react' -import KeysTable from './KeysTable' +import KeysTable from './keysTable' export default function Keys() { return ( diff --git a/src/routes/layout.tsx b/src/routes/layout.tsx index ceb0dc1..d3bb30b 100644 --- a/src/routes/layout.tsx +++ b/src/routes/layout.tsx @@ -3,7 +3,7 @@ import React from 'react' import { Outlet, useParams } from 'react-router-dom' import classes from '../App.module.css' import Toolbar from '../components/create/Toolbar' -import Sidebar from '../components/sidebar/Sidebar' +import Sidebar from '../components/sidebar/sidebar' function Layout() { const { store } = useParams() diff --git a/src/routes/router.tsx b/src/routes/router.tsx index 11cbc1e..7bde020 100644 --- a/src/routes/router.tsx +++ b/src/routes/router.tsx @@ -4,7 +4,7 @@ import Edit from '../components/edit/Edit' import EmptyArea from '../components/EmptyArea' import Error from '../components/Error' import Keys from '../components/keys/Keys' -import Layout from './Layout' +import Layout from './layout' export const router = createHashRouter([ {