Skip to content

Commit

Permalink
Update LiveComponentExtension.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Dec 18, 2024
1 parent 276a908 commit 2b31704
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ function (ChildDefinition $definition, AsLiveComponent $attribute) {
->addTag('container.service_subscriber', ['key' => ComponentRenderer::class, 'id' => 'ux.twig_component.component_renderer'])
->addTag('container.service_subscriber', ['key' => LiveComponentHydrator::class, 'id' => 'ux.live_component.component_hydrator'])
->addTag('container.service_subscriber', ['key' => LiveComponentMetadataFactory::class, 'id' => 'ux.live_component.metadata_factory'])
->addTag('container.service_subscriber') // csrf
;

$container->register('ux.live_component.live_responder', LiveResponder::class);
Expand Down Expand Up @@ -205,7 +204,6 @@ function (ChildDefinition $definition, AsLiveComponent $attribute) {
new Reference('ux.live_component.fingerprint_calculator'),
new Reference('router'),
new Reference('ux.live_component.live_responder'),
new Reference('security.csrf.token_manager', ContainerInterface::NULL_ON_INVALID_REFERENCE),
new Reference('ux.live_component.twig.template_mapper'),
])
;
Expand Down

0 comments on commit 2b31704

Please sign in to comment.