From 0f15b4bcd0aac450136dc76fb476965de9defc98 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 13 Dec 2024 19:29:14 +0530 Subject: [PATCH] commented unused parts --- src/App.tsx | 10 +++++----- src/components/Header.tsx | 6 +++--- src/index.tsx | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 0d9f552..12d2ed0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,10 @@ import React from 'react'; -import logo from './logo.svg'; +//import logo from './logo.svg'; import './App.css'; -import Header from './components/Header'; -import DarkMode from "./components/DarkMode"; -import Counter from './components/Counter'; -import Timer from './components/Timer'; +//import Header from './components/Header'; +//import DarkMode from "./components/DarkMode"; +//import Counter from './components/Counter'; +//import Timer from './components/Timer'; function App() { return (
diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 24fdca6..85f9fa6 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,7 +1,7 @@ //import * as React from 'react'; -import React, {Component} from 'react'; -import { useState,useEffect } from "react"; -import { useNavigate,useParams } from 'react-router-dom'; +import React from 'react'; +import { useState } from "react"; +//import { useNavigate,useParams } from 'react-router-dom'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck function Header() { diff --git a/src/index.tsx b/src/index.tsx index b5e6a37..1eb10ee 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,8 +3,8 @@ import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; -import { useCustomElementRef, fluid } from './fluid'; // Replaced by @lmig/fluid-react-utils -import { useEffect, useRef } from 'react'; +//import { useCustomElementRef, fluid } from './fluid'; // Replaced by @lmig/fluid-react-utils +//import { useEffect, useRef } from 'react'; import { defineCustomElements } from 'stenciljs-components/loader'; const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement