Skip to content

Commit 4b1cf7c

Browse files
committed
remove PostHydrate hook from HasAttributesTrait
1 parent b9ba327 commit 4b1cf7c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/TwigComponent/src/HasAttributesTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\UX\TwigComponent;
1313

1414
use Symfony\UX\LiveComponent\Attribute\LiveProp;
15-
use Symfony\UX\LiveComponent\Attribute\PostHydrate;
1615
use Symfony\UX\TwigComponent\Attribute\PostMount;
1716

1817
/**
@@ -31,7 +30,6 @@ public function setAttributes(array|ComponentAttributes $attributes): void
3130
}
3231

3332
#[PostMount(priority: -1000)]
34-
#[PostHydrate]
3533
public function mountAttributes(array $data = []): array
3634
{
3735
if (isset($this->attributes)) {

0 commit comments

Comments
 (0)