diff --git a/src/Twig/Components/Content.php b/src/Twig/Components/Content.php index 0db7a3a..90627c9 100644 --- a/src/Twig/Components/Content.php +++ b/src/Twig/Components/Content.php @@ -19,7 +19,6 @@ use Mezcalito\FileManagerBundle\Twig\Trait\FilesystemToolsTrait; use Symfony\UX\LiveComponent\Attribute\AsLiveComponent; use Symfony\UX\LiveComponent\Attribute\LiveProp; -use Symfony\UX\LiveComponent\Attribute\PreReRender; use Symfony\UX\LiveComponent\DefaultActionTrait; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; @@ -56,10 +55,4 @@ public function getContent(): array return $nodes; } - - #[PreReRender] - public function preReRender(): void - { - sleep(5); - } } diff --git a/src/Twig/Components/Sidebar.php b/src/Twig/Components/Sidebar.php index b118742..2c3237b 100644 --- a/src/Twig/Components/Sidebar.php +++ b/src/Twig/Components/Sidebar.php @@ -17,7 +17,6 @@ use Mezcalito\FileManagerBundle\Twig\Trait\FilesystemContextTrait; use Mezcalito\FileManagerBundle\Twig\Trait\FilesystemToolsTrait; use Symfony\UX\LiveComponent\Attribute\AsLiveComponent; -use Symfony\UX\LiveComponent\Attribute\PreReRender; use Symfony\UX\LiveComponent\DefaultActionTrait; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; @@ -37,10 +36,4 @@ public function getNodes(): array return $nodes; } - - #[PreReRender] - public function preReRender(): void - { - sleep(5); - } }