Skip to content

Commit

Permalink
[Fix] Set correct Vite Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Aug 23, 2024
1 parent f008a40 commit bf5b969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TwoFactorAuthPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public function register(Panel $panel): void
'two-factor-authentication' => MenuItem::make()
->icon('heroicon-o-lock-closed')
->label(__('Two-Factor Authentication'))
->url(fn (): string => TwoFactor::getUrl()),
->url(fn(): string => TwoFactor::getUrl()),
])
->pages([
config('filament-two-factor-auth.two_factor_settings'),
config('filament-two-factor-auth.challenge'),
])
->viteTheme('vendor/vormkracht10/filament-two-factor-auth/resources/dist/filament-two-factor-auth.css');
->viteTheme('vendor/vormkracht10/filament-2fa/resources/dist/filament-two-factor-auth.css');
}

public function boot(Panel $panel): void
Expand All @@ -48,4 +48,4 @@ public static function get(): static

return $plugin;
}
}
}

0 comments on commit bf5b969

Please sign in to comment.