From 64289995a6aadf91e2d37c535a6fe6392afc4bb6 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:35:11 +0100 Subject: [PATCH] Refactor comments --- 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 6487990..f7e1526 100644 --- a/src/Twig/Components/Organisms/Comments.php +++ b/src/Twig/Components/Organisms/Comments.php @@ -63,7 +63,7 @@ final class Comments $data = json_decode($payload); // If your handler doesn’t compute zaps/links yet, reuse your helpers here: - $this->list = (array)$data->comments; + $this->list = $data->comments; $this->authorsMetadata = (array)$data->profiles ?? []; $this->parseZaps(); // your existing method – fills $zapAmounts & $zappers