Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit a9e386e

Browse files
committed
fix(challenge): Update events when the new query submitted
1 parent 893ecea commit a9e386e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Twig/Components/Challenge/Tabs/Events.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use App\Entity\User;
1010
use App\Repository\SolutionEventRepository;
1111
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
12+
use Symfony\UX\LiveComponent\Attribute\LiveListener;
1213
use Symfony\UX\LiveComponent\Attribute\LiveProp;
1314
use Symfony\UX\LiveComponent\DefaultActionTrait;
1415

@@ -54,4 +55,9 @@ protected function getData(): array
5455
offset: ($this->page - 1) * self::limit,
5556
);
5657
}
58+
59+
#[LiveListener('app:challenge-executor:query-created')]
60+
public function onQueryUpdated(): void
61+
{
62+
}
5763
}

0 commit comments

Comments
 (0)