diff --git a/src/Pages/TwoFactorPage.php b/src/Pages/TwoFactorPage.php index 8ca0d5e..c666973 100644 --- a/src/Pages/TwoFactorPage.php +++ b/src/Pages/TwoFactorPage.php @@ -63,7 +63,7 @@ protected function getFormSchema(): array ->extraInputAttributes(['class' => 'text-center', 'autocomplete' => $this->usingRecoveryCode ? 'off' : 'one-time-code']) ->autofocus() ->suffixAction( - FormAction::make('cancel') + Forms\Components\Actions\Action::make('cancel') ->ToolTip(__('filament-breezy::default.cancel')) ->icon('heroicon-o-x-circle') ->action(function () {