Skip to content

Commit

Permalink
commented unused parts
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjeetkumaritoutlook committed Dec 13, 2024
1 parent aa875e3 commit 0f15b4b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className="App">
Expand Down
6 changes: 3 additions & 3 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f15b4b

Please sign in to comment.