Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 4512506

Browse files
mununkicristianoc
authored andcommitted
restore config.hasReactComponent
1 parent ae19503 commit 4512506

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/reactjs_jsx_ppx.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2700,7 +2700,8 @@ let getMapper ~config =
27002700
let restoreConfig oldConfig =
27012701
config.version <- oldConfig.version;
27022702
config.module_ <- oldConfig.module_;
2703-
config.mode <- oldConfig.mode
2703+
config.mode <- oldConfig.mode;
2704+
config.hasReactComponent <- oldConfig.hasReactComponent
27042705
in
27052706
let signature mapper items =
27062707
let oldConfig = saveConfig () in

0 commit comments

Comments
 (0)