Skip to content

Commit

Permalink
Remove debug sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsapone committed Jun 17, 2024
1 parent 5113711 commit 34002b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/Twig/Components/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -56,10 +55,4 @@ public function getContent(): array

return $nodes;
}

#[PreReRender]
public function preReRender(): void
{
sleep(5);
}
}
7 changes: 0 additions & 7 deletions src/Twig/Components/Sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -37,10 +36,4 @@ public function getNodes(): array

return $nodes;
}

#[PreReRender]
public function preReRender(): void
{
sleep(5);
}
}

0 comments on commit 34002b7

Please sign in to comment.