Skip to content

Commit 7b9b306

Browse files
Testing lint error - works. Simplifying home page.
1 parent 303be50 commit 7b9b306

2 files changed

Lines changed: 2 additions & 34 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx lint-staged
1+
npx lint-staged

src/App.tsx

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,7 @@
1-
import { useState } from "react";
2-
import reactLogo from "./assets/react.svg";
3-
import viteLogo from "/vite.svg";
41
import "./App.css";
52

63
function App() {
7-
const [count, setCount] = useState(0);
8-
9-
return (
10-
<>
11-
<div>
12-
<a href="https://vite.dev" rel="noreferrer noopener" target="_blank">
13-
<img src={viteLogo} className="logo" alt="Vite logo" />
14-
</a>
15-
<a href="https://react.dev" rel="noreferrer noopener" target="_blank">
16-
<img src={reactLogo} className="logo react" alt="React logo" />
17-
</a>
18-
</div>
19-
<h1>Vite + React</h1>
20-
<div className="card">
21-
<button
22-
onClick={() => {
23-
setCount((count) => count + 1);
24-
}}
25-
>
26-
count is {count}
27-
</button>
28-
<p>
29-
Edit <code>src/App.tsx</code> and save to test HMR
30-
</p>
31-
</div>
32-
<p className="read-the-docs">
33-
Click on the Vite and React logos to learn more
34-
</p>
35-
</>
36-
);
4+
return <h1>Code Café Community</h1>;
375
}
386

397
export default App;

0 commit comments

Comments
 (0)