Skip to content

Commit

Permalink
Default banner hook config value (#68)
Browse files Browse the repository at this point in the history
* Initializing Default_banner_hook_config_value for empty Pull Request

* Add default value to config() call
  • Loading branch information
V13Axel authored Jan 30, 2024
1 parent e559289 commit 700ab54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilamentImpersonateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function registeringPackage(): void
public function bootingPackage(): void
{
FilamentView::registerRenderHook(
config('filament-impersonate.banner.render_hook'),
config('filament-impersonate.banner.render_hook', 'panels::body.start'),
static fn (): string => Blade::render("<x-filament-impersonate::banner/>")
);

Expand Down

0 comments on commit 700ab54

Please sign in to comment.