Skip to content

Commit ec23260

Browse files
authored
Merge pull request #219 from Eyesonly88/master
Fixes compile error when getting packaged by metro
2 parents 2392e58 + 00fd814 commit ec23260

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)