diff --git a/bun.lockb b/bun.lockb index 3e70ce9..ac8b8da 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/App.tsx b/src/App.tsx index 0504e3b..98b9c41 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,11 +5,12 @@ import { Disk } from './types'; const App = () => { const [towers, setTowers] = useState([ [ - { size: 5, id: 5 }, - { size: 4, id: 4 }, - { size: 3, id: 3 }, - { size: 2, id: 2 }, - { size: 1, id: 1 } + { size: 1, id: 6 }, + { size: 2, id: 5 }, + { size: 3, id: 4 }, + { size: 4, id: 3 }, + { size: 5, id: 2 }, + { size: 6, id: 1 }, ], [], [] diff --git a/src/components/Disk.tsx b/src/components/Disk.tsx index 0a3078f..e10b82a 100644 --- a/src/components/Disk.tsx +++ b/src/components/Disk.tsx @@ -1,4 +1,3 @@ -// components/Disk.tsx import { FC } from 'react'; import { DiskProps } from '../types'; diff --git a/src/components/Tower.tsx b/src/components/Tower.tsx index 45b1888..c87974b 100644 --- a/src/components/Tower.tsx +++ b/src/components/Tower.tsx @@ -1,4 +1,3 @@ -// components/Tower.tsx import { FC } from 'react'; import { TowerProps } from '../types'; import DiskComponent from './Disk'; diff --git a/vite.config.ts b/vite.config.ts index 68a7fa1..def411c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,3 @@ -import path from 'path'; import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react-swc';