This commit is contained in:
2025-10-27 10:48:50 +08:00
parent c458504da2
commit f341bd01c6

View File

@@ -43,7 +43,7 @@ export default function BannerList() {
try {
const hasil = await decryptToken(String(token?.current));
const deletedEntity = await apiDeleteBanner({ user: hasil }, dataId);
if (deletedEntity.success) {
if (deletedEntity.success ) {
Toast.show({ type: 'small', text1: 'Berhasil menghapus data', })
apiGetBanner({ user: hasil }).then((data) =>
dispatch(setEntities(data.data))