Skip to content

@clayui/css: Mixins clay-button-variant remove unnecessary setter() #4550

Closed
@pat270

Description

The setter() function was used to set null parameters to empty maps so the Sass function map-get wouldn't throw the error:

Error: argument `$map` of `map-get($map, $key)` must be a map

We now check to see if the parameter is of type map in the clay-css mixin and no longer need to do this.

Metadata

Assignees

Labels

comp: clay-cssIssues related to Clay CSStype: bugIssues reporting that Component is not doing what should be done

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions