Skip to content

Commit fbfc39d

Browse files
committed
move fn
1 parent cdcd333 commit fbfc39d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

jscomp/syntax/src/jsx_common.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ type jsxConfig = {
99
mutable hasComponent: bool;
1010
}
1111

12-
let mkModuleAccessName config = String.capitalize_ascii config.module_
13-
1412
(* Helper method to look up the [@react.component] attribute *)
1513
let hasAttr (loc, _) =
1614
match loc.txt with

jscomp/syntax/src/jsx_v4.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ open Asttypes
44
open Parsetree
55
open Longident
66

7-
let moduleAccessName = Jsx_common.mkModuleAccessName
7+
let moduleAccessName config = String.capitalize_ascii config.Jsx_common.module_
88

99
let nolabel = Nolabel
1010

0 commit comments

Comments
 (0)