diff --git a/app/Livewire/Studio/Loyalty/Tier/Reward.php b/app/Livewire/Studio/Loyalty/Tier/Reward.php index 513914e..cf95442 100644 --- a/app/Livewire/Studio/Loyalty/Tier/Reward.php +++ b/app/Livewire/Studio/Loyalty/Tier/Reward.php @@ -64,7 +64,7 @@ public function create() $this->toast('Hadiah berhasil ditambahkan.'); - Flux::modals()->close(); + Flux::modal('reward-form-modal')->close(); } public function update() @@ -75,7 +75,7 @@ public function update() $this->toast('Hadiah berhasil diperbarui.'); - Flux::modals()->close(); + Flux::modal('reward-form-modal')->close(); } public function delete(TierReward $reward)