From 5adbdc10308cc277edce3d5a5a050db5f44065b1 Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Thu, 17 Oct 2024 13:08:52 +0200 Subject: [PATCH] ghdebnhsdfjjhsdefjkesd --- bun.lockb | Bin 81940 -> 81940 bytes src/App.tsx | 11 ++++++----- src/components/Disk.tsx | 1 - src/components/Tower.tsx | 1 - vite.config.ts | 1 - 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/bun.lockb b/bun.lockb index 3e70ce980766399354ad675d53fe881d091584d5..ac8b8da7f490dbba17595a49300d01bcd5ee99a9 100755 GIT binary patch delta 23 fcmbQzz&fRYb;H9u9E@>>dghjTrkh{h(M|>cZcPb4 delta 23 acmbQzz&fRYb;H9u983%lu=(X3?PLI7)CaHt 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';