Skip to content

Commit

Permalink
fix: typo translateProperty on scaleProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
zakybilfagih committed Jan 30, 2025
1 parent 97a5e88 commit d811766
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion packages/ppx/src/Property_to_runtime.re
Original file line number Diff line number Diff line change
Expand Up @@ -3022,7 +3022,7 @@ let render_number_percentage = (~loc) =>
let scale =
polymorphic(Property_parser.property_scale, (~loc) =>
fun
| `None => [[%expr CSS.translateProperty(`none)]]
| `None => [[%expr CSS.scaleProperty(`none)]]
| `Number_percentage([x, y, z, ..._]) => [
[%expr
CSS.scaleProperty3(
Expand Down
4 changes: 0 additions & 4 deletions packages/runtime/native/shared/Css_types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4844,10 +4844,6 @@ module BorderImageSlice = struct
| #Percentage.t as x -> Percentage.toString x
end

module Fill = struct
let toString = {js|fill|js}
end

type t =
[ Value.t
| Cascading.t
Expand Down

0 comments on commit d811766

Please sign in to comment.