diff --git a/src/Twig/Components/Organisms/Comments.php b/src/Twig/Components/Organisms/Comments.php index 88446dd..6487990 100644 --- a/src/Twig/Components/Organisms/Comments.php +++ b/src/Twig/Components/Organisms/Comments.php @@ -63,8 +63,8 @@ final class Comments $data = json_decode($payload); // If your handler doesn’t compute zaps/links yet, reuse your helpers here: - $this->list = $data->comments; - $this->authorsMetadata = $data->profiles ?? []; + $this->list = (array)$data->comments; + $this->authorsMetadata = (array)$data->profiles ?? []; $this->parseZaps(); // your existing method – fills $zapAmounts & $zappers $this->parseNostrLinks(); // your existing method – fills $commentLinks & $processedContent