diff --git a/src/React.re b/src/React.re index b3879e2b1..834816a12 100644 --- a/src/React.re +++ b/src/React.re @@ -86,18 +86,11 @@ module Fragment = { module Suspense = { [@bs.obj] external makeProps: - ( - ~children: element=?, - ~fallback: element=?, - ~maxDuration: int=?, - ~key: 'key=?, - unit - ) => + (~children: element=?, ~fallback: element=?, ~key: 'key=?, unit) => { . "children": option(element), "fallback": option(element), - "maxDuration": option(int), } = ""; [@bs.module "react"] @@ -106,7 +99,6 @@ module Suspense = { . "children": option(element), "fallback": option(element), - "maxDuration": option(int), }) = "Suspense"; };