diff --git a/src/LivewireTwigServiceProvider.php b/src/LivewireTwigServiceProvider.php index d00dc95..2ab17fb 100644 --- a/src/LivewireTwigServiceProvider.php +++ b/src/LivewireTwigServiceProvider.php @@ -11,6 +11,6 @@ public function boot(): void { $this->app->afterResolving('twig', fn () => $this->app['twig']->addExtension(new LivewireExtension())); - $this->app->singleton(DeterministicBladeKeys::class, fn () => new NoneDeterministicTwigKeys()); + $this->app->extend(DeterministicBladeKeys::class, fn() => new NoneDeterministicTwigKeys()); } }