Skip to content

Commit

Permalink
Update Icon.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Anders <anderslangseth@gmail.com>
  • Loading branch information
tujoworker and langz authored Jun 13, 2024
1 parent 883fcd8 commit 1dfec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dnb-eufemia/src/components/icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export function calcSize(props: IconProps) {
}
}

// check if the size is given as a number, and if is a default size
// check if the size is given as a number, and if it's a default size
else if (parseFloat(String(size)) > 0) {
sizeAsInt =
ListDefaultIconSizes.filter(
Expand Down

0 comments on commit 1dfec8c

Please sign in to comment.