Skip to content

Commit 00fd814

Browse files
author
Mo
committed
Fixes compile error in metro pacakge
1 parent 2392e58 commit 00fd814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default class ViewShot extends Component<Props> {
177177
lastCapturedURI: ?string;
178178

179179
resolveFirstLayout: (layout: Object) => void;
180-
firstLayoutPromise = new Promise<void>(resolve => {
180+
firstLayoutPromise = new Promise(resolve => {
181181
this.resolveFirstLayout = resolve;
182182
});
183183

0 commit comments

Comments
 (0)