Skip to content

Commit

Permalink
update on few small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed May 8, 2024
1 parent e357cb1 commit 2c19335
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Rest/Routes/LoadMore/LoadMoreRouteExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 2c19335

Please sign in to comment.