You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected $listeners = [
'sweetalertConfirmed',
'sweetalertDenied',
];
public function logout()
{
sweetalert()
->timer(0)
->showDenyButton()
->addInfo('confirm or deny action');
}
public function sweetalertConfirmed(array $payload)
{
auth()->logout();
sweetalert()->addSuccess('sweetalert was confirmed');
}
public function sweetalertDenied(array $payload)
{
sweetalert()->addError('sweetalert was denied');
}
i have code for laravel 10 and livewire 3 and get Uncaught TypeError: Livewire.components is undefined
when i click button logout, here my button logout:
i have code for laravel 10 and livewire 3 and get Uncaught TypeError: Livewire.components is undefined
when i click button logout, here my button logout:
how can fix this code
The text was updated successfully, but these errors were encountered: