Fix up Flow syntax
Dan Abramov committed
Mar 22, 2017 at 18:41 UTC
b0b9f379605e8b683031bf7a2840bd3503feccd1
1 file changed
+1
-1
src/renderers/shared/fiber/ReactFiberErrorLogger.js
+1
-1
@@ -90,7 +90,7 @@ function logCapturedError(capturedError: CapturedError): void {
90
}
91
92
exports.injection = {
93
- injectDialog(fn: (CapturedError) => void) {
93
+ injectDialog(fn: (e: CapturedError) => void) {
94
invariant(
95
showDialog === emptyFunction,
96
'The custom dialog was already injected.',