From beb686b079ef2cdb902ffa4e852033e2c857ebe2 Mon Sep 17 00:00:00 2001 From: Rustie <64870518+woodcox@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:55:53 +0100 Subject: [PATCH] Update _process-collection.scss --- src/generator/workers/_process-collection.scss | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/generator/workers/_process-collection.scss b/src/generator/workers/_process-collection.scss index 70dbe83..20eabf4 100644 --- a/src/generator/workers/_process-collection.scss +++ b/src/generator/workers/_process-collection.scss @@ -59,22 +59,8 @@ } // Check if the $collection is a list of maps } @else if meta.type-of($collection) == 'list' { - // Remove duplicate maps from the list - $unique-collection: (); @each $map in $collection { - $exists: false; - @each $unique-map in $unique-collection { - @if $map == $unique-map { - $exists: true; - } - } - @if not $exists { - $unique-collection: append($unique-collection, $map); - } - } - - // Process each unique map in the list - @each $map in $unique-collection { + // For each $map in the $collection process it through the process-collection mixin @include process-collection($map, $prefix, $selector, $is-breakpoint); } } @else {