Skip to content

Commit dd11095

Browse files
smnandreweaverryan
andauthored
Update src/LiveComponent/src/EventListener/DeferLiveComponentSubscriber.php
Co-authored-by: Ryan Weaver <[email protected]>
1 parent 69f02ab commit dd11095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/src/EventListener/DeferLiveComponentSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function onPostMount(PostMountEvent $event): void
3333
$data = $event->getData();
3434

3535
if (\array_key_exists('defer', $data)) {
36-
trigger_deprecation('symfony/ux-live-component', '2.17', 'The "defer" attribute is deprecated and will be removed in 3.0. Use the "loading" attribute instead.');
36+
trigger_deprecation('symfony/ux-live-component', '2.17', 'The "defer" attribute is deprecated and will be removed in 3.0. Use the "loading" attribute instead set to the value "defer"');
3737
if ($data['defer']) {
3838
$event->addExtraMetadata('loading', 'defer');
3939
}

0 commit comments

Comments
 (0)