Skip to content

Commit 31b1f6a

Browse files
pedrobslisboadavesnx
authored andcommitted
feat: change JSX variants to handle jsx prop name
1 parent 7ec6bb2 commit 31b1f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime/native/CSS.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ let get_string_style_hashes () =
497497
let style_tag ?key:_ ?children:_ () =
498498
React.createElement "style"
499499
[
500-
String ("data-emotion", "css " ^ get_string_style_hashes ());
501-
Bool ("data-s", true);
500+
String ("data-emotion", "data-emotion", "css " ^ get_string_style_hashes ());
501+
Bool ("data-s", "data-s", true);
502502
DangerouslyInnerHtml (get_stylesheet ());
503503
]
504504
[]

0 commit comments

Comments
 (0)