diff --git a/src/FilamentEditProfilePlugin.php b/src/FilamentEditProfilePlugin.php index 91f8a41..afe6d53 100644 --- a/src/FilamentEditProfilePlugin.php +++ b/src/FilamentEditProfilePlugin.php @@ -311,15 +311,15 @@ private function registerLivewireComponents(): void $components->put('edit_password_form', EditPasswordForm::class); } - if ($this->shouldShowDeleteAccountForm) { + if ($this->getShouldShowDeleteAccountForm()) { $components->put('delete_account_form', DeleteAccountForm::class); } - if ($this->sanctumTokens) { + if ($this->getShouldShowSanctumTokens()) { $components->put('sanctum_tokens', SanctumTokens::class); } - if ($this->shouldShowBrowserSessionsForm) { + if ($this->getShouldShowBrowserSessionsForm()) { $components->put('browser_sessions_form', BrowserSessionsForm::class); }