Skip to content

Commit

Permalink
docs: fix transforms example (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
astahmer committed Jun 7, 2023
1 parent b0bac00 commit bf49d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/pages/transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let res = transform({
Length(length) {
return {
unit: length.unit,
value: length * 2
value: length.value * 2
}
}
}
Expand Down Expand Up @@ -123,7 +123,7 @@ let res = transform({
type: 'length-percentage',
value: { type: 'dimension', value: property.value[0].value }
};

return [
{ property: 'width', value },
{ property: 'height', value }
Expand Down

0 comments on commit bf49d69

Please sign in to comment.