From f9efe18e947ff4e9b3a2d7021f2bbadfff2aeca3 Mon Sep 17 00:00:00 2001 From: datalore Date: Fri, 3 Nov 2023 19:08:20 +0100 Subject: [PATCH] Removed file extensions from imports --- src/app/components/bingo.tsx | 2 +- src/app/components/bingocontroller.tsx | 2 +- src/app/components/bingorow.tsx | 2 +- src/app/page.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/components/bingo.tsx b/src/app/components/bingo.tsx index 1e55923..255670c 100644 --- a/src/app/components/bingo.tsx +++ b/src/app/components/bingo.tsx @@ -1,4 +1,4 @@ -import BingoRow from './bingorow.tsx' +import BingoRow from './bingorow' interface Props{ size: number; diff --git a/src/app/components/bingocontroller.tsx b/src/app/components/bingocontroller.tsx index cd8dc28..d8718f7 100644 --- a/src/app/components/bingocontroller.tsx +++ b/src/app/components/bingocontroller.tsx @@ -1,7 +1,7 @@ 'use client'; import React from 'react' -import Bingo from './bingo.tsx' +import Bingo from './bingo' function FisherYatesShuffle(array:string[]):string[]{ for(let i = array.length - 1; i > 0; i--){ diff --git a/src/app/components/bingorow.tsx b/src/app/components/bingorow.tsx index 2c95e6a..6266b3f 100644 --- a/src/app/components/bingorow.tsx +++ b/src/app/components/bingorow.tsx @@ -1,4 +1,4 @@ -import BingoItem from './bingoitem.tsx' +import BingoItem from './bingoitem' interface Props{ items: string[]; diff --git a/src/app/page.tsx b/src/app/page.tsx index d421b6a..e9e6679 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,5 @@ -import BingoController from './components/bingocontroller.tsx' -import ThemeSwitcher from './components/themeswitcher.tsx' +import BingoController from './components/bingocontroller' +import ThemeSwitcher from './components/themeswitcher' export default function Home(){ return(