feat: update Dashboard page

- Perubahan tampilan dan modal pada halaman Dashboard
- Tambah schema dan type untuk Gacha Item
- Gunakan form dan Toast
This commit is contained in:
Hafid Nur
2025-04-05 09:36:49 +07:00
parent e805e5fd41
commit 0e3dc101d5
8 changed files with 327 additions and 198 deletions
@@ -184,9 +184,6 @@ export const Components: FC = (): ReactElement => {
currentStep={currentStep}
isOpen={showModalAddItem}
onClose={() => setShowModalAddItem(false)}
handleAddItem={() => {
console.log('Item added');
}}
nextStep={nextStep}
prevStep={prevStep}
resetStep={resetStep}
@@ -195,9 +192,6 @@ export const Components: FC = (): ReactElement => {
currentStep={currentStep}
isOpen={showModalUpdateItem}
onClose={() => setShowModalUpdateItem(false)}
handleUpdateItem={() => {
console.log('Item updated');
}}
nextStep={nextStep}
prevStep={prevStep}
resetStep={resetStep}