diff options
| author | Yuval Adam <_@yuv.al> | 2025-06-27 10:41:40 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-06-27 10:41:40 +0200 |
| commit | c896691084bfc786dc1780ce36fd71e6f7ab9d60 (patch) | |
| tree | 0e60f238bb42c24441dfbfbcab6f240c0d4d0d67 /src/components/SimpleTest.tsx | |
| parent | 8403930448013787bd0a986ece086f20ef6d9a57 (diff) | |
Migrate from react to svelte
Diffstat (limited to 'src/components/SimpleTest.tsx')
| -rw-r--r-- | src/components/SimpleTest.tsx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/components/SimpleTest.tsx b/src/components/SimpleTest.tsx deleted file mode 100644 index cfabeab..0000000 --- a/src/components/SimpleTest.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { useState } from 'react'; - -export default function SimpleTest() { - const [count, setCount] = useState(0); - - return ( - <div className="max-w-2xl mx-auto p-6"> - <h1 className="text-3xl font-bold mb-6">Simple Test Component</h1> - <div className="space-y-4"> - <p>This is a simple React component to test if the infinite refresh is caused by the API calls.</p> - <div className="flex items-center space-x-4"> - <button - onClick={() => setCount(count - 1)} - className="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600" - > - - - </button> - <span className="text-xl font-bold">{count}</span> - <button - onClick={() => setCount(count + 1)} - className="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600" - > - + - </button> - </div> - <p className="text-gray-600"> - If this component works without refreshing, the issue is in the TaskManager API calls. - </p> - </div> - </div> - ); -}
\ No newline at end of file |
