Skip to content

Commit 6e8afff

Browse files
committed
Fix import nits
1 parent 03741ab commit 6e8afff

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/components/Layout/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "./Header.tsx";
2-
import Footer from "./Footer.tsx";
1+
import Header from "./Header";
2+
import Footer from "./Footer";
33
import { Outlet } from "react-router";
44

55
export default function Layout() {

src/main.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { StrictMode } from "react";
22
import { createRoot } from "react-dom/client";
33
import { BrowserRouter, Routes, Route } from "react-router";
44
import "./index.css";
5-
import Layout from "./components/Layout/index.tsx";
6-
import Home from "./routes/Home/index.tsx";
7-
import About from "./routes/About/index.tsx";
5+
import Layout from "./components/Layout";
6+
import Home from "./routes/Home";
7+
import About from "./routes/About";
88

99
const root = document.getElementById("root");
1010

src/routes/Home/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import Hero from "./Hero.tsx";
2-
import Features from "./Features.tsx";
3-
import CTA from "./CTA.tsx";
4-
import Showcase from "./Showcase.tsx";
1+
import Hero from "./Hero";
2+
import Features from "./Features";
3+
import CTA from "./CTA";
4+
import Showcase from "./Showcase";
55

66
export default function Home() {
77
return (

0 commit comments

Comments
 (0)