Skip to content

Commit b386ca8

Browse files
committed
add comment
1 parent 2766a12 commit b386ca8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/React.res

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,5 +452,7 @@ external useOptimistic: (
452452
@module("react")
453453
external act: (unit => promise<unit>) => promise<unit> = "act"
454454

455-
@module("react") @return(null_to_opt)
455+
/** captureOwnerStack reads the current Owner Stack in development and returns it as a string if available. */
456+
@module("react")
457+
@return(null_to_opt)
456458
external captureOwnerStack: unit => option<string> = "captureOwnerStack"

0 commit comments

Comments
 (0)