Skip to content

Commit

Permalink
Merge branch 'main' into zewaka/colorbox-dot
Browse files Browse the repository at this point in the history
  • Loading branch information
ZephyrTFA authored Aug 15, 2024
2 parents b4748e6 + deaf72b commit 32fd565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/Box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const mapBooleanPropTo = (attrName, attrValue) => (style, value) => {
const mapDirectionalUnitPropTo = (attrName, unit, dirs) => (style, value) => {
if (typeof value === 'number' || typeof value === 'string') {
for (let i = 0; i < dirs.length; i++) {
style[attrName + '-' + dirs[i]] = unit(value);
style[attrName + dirs[i]] = unit(value);
}
}
};
Expand Down

0 comments on commit 32fd565

Please sign in to comment.