diff --git a/components/prev-next/prev-next.twig b/components/prev-next/prev-next.twig index e8c3cdd8..c4488ffb 100644 --- a/components/prev-next/prev-next.twig +++ b/components/prev-next/prev-next.twig @@ -7,7 +7,7 @@ */ #} -{% set prevNextAttributes = prevNextAttributes|default(create_attribute) %} +{% set prevNextAttributes = create_attribute(prevNextAttributes|default({})) %} {% set icon_path = icon_path|default('@localgov_base/includes/icons') %} {% set prev_icon = prev_icon|default('chevron-left') %}