From 2c19335bad54bb901a406c0586914ff428b53d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Ruz=CC=8Cevic=CC=81?= Date: Wed, 8 May 2024 22:40:05 +0200 Subject: [PATCH] update on few small issues --- src/Rest/Routes/LoadMore/LoadMoreRouteExample.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Rest/Routes/LoadMore/LoadMoreRouteExample.php b/src/Rest/Routes/LoadMore/LoadMoreRouteExample.php index 5a7885b9b..da79b8867 100644 --- a/src/Rest/Routes/LoadMore/LoadMoreRouteExample.php +++ b/src/Rest/Routes/LoadMore/LoadMoreRouteExample.php @@ -86,13 +86,14 @@ public function getMappedData(string $type, array $response): string { switch ($type) { case 'featured-content': - return Helpers::renderPartial( - 'block', - $type, + return Helpers::render( 'cards', [ 'items' => $response, - ] + ], + 'blocks', + false, + "{$type}/partials" ); default: return '';