From 9f992c5bef6eb7be419f62560ed93b0a97efc074 Mon Sep 17 00:00:00 2001 From: Luis Beu Date: Fri, 27 Jun 2025 00:04:34 +0200 Subject: [PATCH] test --- src/App.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3ee93f5..eaa6df3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react' +import { useState } from 'react' import reactLogo from './assets/react.svg' import viteLogo from '/vite.svg' import './App.css' @@ -34,11 +34,4 @@ function App() { ) } -export default App - -function ExampleComponent() { - if (true) { - const [state, setState] = React.useState(0); // This breaks the rules of hooks - } - return
{state}
; -} \ No newline at end of file +export default App \ No newline at end of file