upd: edit investasi

Deskripsi:
- api master pada edit investasu

No Issues
This commit is contained in:
amel
2024-12-16 13:49:57 +08:00
parent 99480604e4
commit df6dcd6eb3
9 changed files with 489 additions and 20 deletions

View File

@@ -25,6 +25,7 @@ export function Investasi_ComponentButtonUpdateDataInvestasi({
const [isLoading, setIsLoading] = useState(false);
async function onUpdate() {
setIsLoading(true);
if (totalLembar === "0")
return ComponentGlobal_NotifikasiPeringatan("Total lembar kosong");
@@ -74,6 +75,8 @@ export function Investasi_ComponentButtonUpdateDataInvestasi({
return (
<Stack>
<Button
loading={isLoading}
loaderPosition="center"
my={50}
radius={50}
bg={MainColor.yellow}