Skip to content

Commit

Permalink
fix: corrige notification ao exibir erro no pedido
Browse files Browse the repository at this point in the history
  • Loading branch information
icarojobs committed Sep 3, 2024
1 parent 0c2752e commit a167a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/OrderResource/Pages/CreateOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function handleRecordCreation(array $data): Model
->title('Erro ao processar pagamento')
->body($error)
->danger()
->persistent()
->duration(4000)
->send();

throw new Halt();
Expand Down

0 comments on commit a167a2d

Please sign in to comment.