diff --git a/src/index.tsx b/src/index.tsx
index 3ae5bc7..c895a11 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,19 +1,20 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-import './index.css';
-import reportWebVitals from "./utils/reportWebVitals";
-import App from "./ui/App";
+import React from 'react'
+import ReactDOM from 'react-dom/client'
+import './index.css'
+import reportWebVitals from './utils/reportWebVitals'
+import App from './ui/App'
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
-);
+)
+
root.render(
-);
+)
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
-reportWebVitals();
+reportWebVitals()
diff --git a/src/ui/App.test.tsx b/src/ui/App.test.tsx
index 2a68616..424c6b6 100644
--- a/src/ui/App.test.tsx
+++ b/src/ui/App.test.tsx
@@ -1,9 +1,7 @@
-import React from 'react';
-import { render, screen } from '@testing-library/react';
-import App from './App';
+import React from 'react'
+import { render, screen } from '@testing-library/react'
+import App from './App'
test('renders learn react link', () => {
- render();
- const linkElement = screen.getByText(/learn react/i);
- expect(linkElement).toBeInTheDocument();
-});
+
+})
diff --git a/src/ui/App.tsx b/src/ui/App.tsx
index eca912c..4dd5590 100644
--- a/src/ui/App.tsx
+++ b/src/ui/App.tsx
@@ -1,6 +1,6 @@
-import React from 'react';
-import logo from './logo.svg';
-import './App.css';
+import React from 'react'
+import logo from './logo.svg'
+import './App.css'
// Major Components
import Topbar from './components/TopBar'
@@ -9,9 +9,9 @@ function App() {
return (
-
+
- );
+ )
}
-export default App;
+export default App
diff --git a/src/ui/components/TopBar.tsx b/src/ui/components/TopBar.tsx
index cf3c1d4..76013c5 100644
--- a/src/ui/components/TopBar.tsx
+++ b/src/ui/components/TopBar.tsx
@@ -1,5 +1,5 @@
-import React from 'react';
-import './TopBar.css';
+import React from 'react'
+import './TopBar.css'
export default class TopBar extends React.Component {
constructor(props: unknown[]) {
diff --git a/src/utils/reportWebVitals.ts b/src/utils/reportWebVitals.ts
index 49a2a16..57a24a2 100644
--- a/src/utils/reportWebVitals.ts
+++ b/src/utils/reportWebVitals.ts
@@ -1,15 +1,15 @@
-import { ReportHandler } from 'web-vitals';
+import { ReportHandler } from 'web-vitals'
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
- getCLS(onPerfEntry);
- getFID(onPerfEntry);
- getFCP(onPerfEntry);
- getLCP(onPerfEntry);
- getTTFB(onPerfEntry);
- });
+ getCLS(onPerfEntry)
+ getFID(onPerfEntry)
+ getFCP(onPerfEntry)
+ getLCP(onPerfEntry)
+ getTTFB(onPerfEntry)
+ })
}
-};
+}
-export default reportWebVitals;
+export default reportWebVitals
diff --git a/src/utils/setupTests.ts b/src/utils/setupTests.ts
index 8f2609b..52aaef1 100644
--- a/src/utils/setupTests.ts
+++ b/src/utils/setupTests.ts
@@ -2,4 +2,4 @@
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
-import '@testing-library/jest-dom';
+import '@testing-library/jest-dom'