fix: task

Deskripsi:
- progress error
- data tugas kosong
- file kosong
- anggota kosong
- csv dimatiin
- modal konfirmasi loading

No Issues
This commit is contained in:
amel
2024-09-26 11:18:19 +08:00
parent 0afde113ac
commit b1a71d3d41
9 changed files with 30 additions and 22 deletions

View File

@@ -30,6 +30,7 @@ export default function LayoutModal({ opened, onClose, description, onYes }: { o
<Button loading={loading} fullWidth size="lg" radius={'xl'} bg={'green'} onClick={() => {
setLoading(true)
onYes(true)
setLoading(false)
}}>YA</Button>
<Button fullWidth size="lg" radius={'xl'} bg={'#F1C1CF'} c={'#D30B30'} onClick={() => onYes(false)}>TIDAK</Button>
</>
@@ -39,6 +40,7 @@ export default function LayoutModal({ opened, onClose, description, onYes }: { o
<Button loading={loading} fullWidth size="lg" radius={'xl'} bg={'green'} onClick={() => {
setLoading(true)
onYes(true)
setLoading(false)
}}>YA</Button>
</>