From ccd73077319755db4e0d0712f69ccc431ecc099c Mon Sep 17 00:00:00 2001 From: ousid Date: Tue, 30 May 2023 16:46:06 +0100 Subject: [PATCH] remove component name prefix --- src/LaravelTurnstileServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaravelTurnstileServiceProvider.php b/src/LaravelTurnstileServiceProvider.php index 62db513..35cffdd 100644 --- a/src/LaravelTurnstileServiceProvider.php +++ b/src/LaravelTurnstileServiceProvider.php @@ -19,6 +19,6 @@ public function configurePackage(Package $package): void ->name('laravel-turnstile') ->hasConfigFile() ->hasViews('turnstile') - ->hasViewComponent('turnstile', TurnstileWidget::class); + ->hasViewComponent('', TurnstileWidget::class); } }