From fab9215d2c46c4a9186ee10a73cb687bf59e0e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Sun, 26 Oct 2025 20:12:12 +0100 Subject: [PATCH] Refactor comments, to array --- src/Twig/Components/Organisms/Comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Twig/Components/Organisms/Comments.php b/src/Twig/Components/Organisms/Comments.php index e0182c2..75c6379 100644 --- a/src/Twig/Components/Organisms/Comments.php +++ b/src/Twig/Components/Organisms/Comments.php @@ -60,7 +60,7 @@ final class Comments #[LiveAction] public function loadComments(#[LiveArg] string $payload): array { - $data = json_decode($payload); + $data = json_decode($payload,true); // If your handler doesn’t compute zaps/links yet, reuse your helpers here: $this->list = $data['comments'];