Skip to content

Commit

Permalink
feat: change JSX variants to handle jsx prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobslisboa committed Dec 3, 2024
1 parent 2fdbfc4 commit 5d86762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime/native/CSS.ml
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ let get_string_style_hashes () =
let style_tag ?key:_ ?children:_ () =
React.createElement "style"
[
String ("data-emotion", "css " ^ get_string_style_hashes ());
Bool ("data-s", true);
String ("data-emotion", "data-emotion", "css " ^ get_string_style_hashes ());
Bool ("data-s", "data-s", true);
DangerouslyInnerHtml (get_stylesheet ());
]
[]
Expand Down

0 comments on commit 5d86762

Please sign in to comment.