Fix AsyncStorageExample

Comment out React Native's use of non-standard `done()` method, which
isn't available on `async` functions even though it is polyfilled for
the global Promise.
This commit is contained in:
Nicolas Gallagher
2018-06-05 13:13:36 -07:00
parent a1d8ea776e
commit 7b81d2a7ec

View File

@@ -29,7 +29,7 @@ class BasicStorageExample extends React.Component<{}, $FlowFixMeState> {
};
componentDidMount() {
this._loadInitialState().done();
this._loadInitialState()//.done();
}
_loadInitialState = async () => {