Skip to content

Commit f9b10a8

Browse files
committed
Remove _onclick from cram tests
1 parent 56e61d6 commit f9b10a8

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

packages/server-reason-react-ppx/cram/input_reason.re

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ let data_attributes_should_transform_to_kebabcase =
178178
<div className="md:w-2/3" />
179179
</>;
180180

181-
let render_onclickPropsAsString = <div _onclick="alert('hello')" />;
182-
183181
/* module External = {
184182
[@react.component] [@otherAttribute "bla"]
185183
external component: (~a: int, ~b: string) => React.element =

packages/server-reason-react-ppx/cram/reason.expected

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,3 @@ let data_attributes_should_transform_to_kebabcase =
169169
[];
170170
])
171171
()
172-
173-
let render_onclickPropsAsString =
174-
React.createElement "div"
175-
([|
176-
Some
177-
(React.JSX.Event
178-
("_onclick", React.JSX.Event.Inline ("alert('hello')" : string)));
179-
|]
180-
|> Array.to_list
181-
|> List.filter_map (fun a -> a)
182-
|> Array.of_list)
183-
[]

0 commit comments

Comments
 (0)