diff --git a/src/reactjs_jsx_ppx_v3.ml b/src/reactjs_jsx_ppx_v3.ml index 87a08ed5..628855db 100644 --- a/src/reactjs_jsx_ppx_v3.ml +++ b/src/reactjs_jsx_ppx_v3.ml @@ -361,7 +361,7 @@ let jsxMapper () = Location.prerr_warning pattern.ppat_loc (Preprocessor (Printf.sprintf - "ReasonReact: optional argument annotations must have explicit `option`. Did you mean \ + "React: optional argument annotations must have explicit `option`. Did you mean \ `option(%s)=?`?" currentType)) ) | _ -> () @@ -386,7 +386,7 @@ let jsxMapper () = (list, Some txt) | Pexp_fun (Nolabel, _, pattern, _expression) -> Location.raise_errorf ~loc:pattern.ppat_loc - "ReasonReact: react.component refs only support plain arguments and type annotations." + "React: react.component refs only support plain arguments and type annotations." | _ -> (list, None) [@@raises Invalid_argument] in @@ -562,7 +562,7 @@ let jsxMapper () = if hasApplication.contents then ((fun a -> a), false, unerasableIgnoreExp expression) else Location.raise_errorf ~loc:pattern.ppat_loc - "ReasonReact: props need to be labelled arguments.\n\ + "React: props need to be labelled arguments.\n\ \ If you are working with refs be sure to wrap with React.forwardRef.\n\ \ If your component doesn't have any props use () or _ instead of a name." (* let make = {let foo = bar in (~prop) => ...} *)