title: I am trying to configure my app by using EXPO's example from the docs, while it shows syntax error
body: <p>I am trying to use this code which found on expo documentation. I've already included images and fonts that I a musing while it shows strange error on the line of ionicons font like expected , . While its correct. I can't find what is wrong?</p>
  
  <pre><code>function cacheImages(images) {
    return images.map(image =&gt; {
      if (typeof image === 'string') {
        return Image.prefetch(image);
      } else {
        return Asset.fromModule(image).downloadAsync();
      }
    });
  }
  
  function cacheFonts(fonts) {
    return fonts.map(font =&gt; Font.loadAsync(font));
  }
  
  export default class App extends React.Component {
     constructor() {
      super();
      this.state = {
       isReady: false,
        store: configureStore(() =&gt; this.setState({ isLoading: false })),
        mainApplication: false,
      };
    }
  
  
    async _loadAssetsAsync() {
      const imageAssets = cacheImages([
       require("./assets/icons/app.png"),
        require("./assets/icons/loading.png"),
        require("./img/img1.jpg"),
        require("./img/img2.jpg"),
        require("./img/img3.jpg"),
  
      ]);
  
      const fontAssets = cacheFonts([
       Ionicons: require("@expo/vector-icons/fonts/Ionicons.ttf"),
          Arial: require("native-base/Fonts/Roboto.ttf"),
          Roboto: require("native-base/Fonts/Roboto.ttf"),
          Roboto_medium: require("native-base/Fonts/Roboto_medium.ttf"),]);
  
      await Promise.all([...imageAssets, ...fontAssets]);
    }
  
   render() {
      if (!this.state.isReady) {
        return (
          &lt;AppLoading
            startAsync={this._loadAssetsAsync}
            onFinish={() =&gt; this.setState({ isReady: true })}
            onError={console.warn}
          /&gt;
        );
      }
  else {
      return (
        return  &lt;Provider store={this.state.store}&gt;
        &lt;Root&gt;
              &lt;Nav/&gt;
              &lt;/Root&gt;
  &lt;/Provider&gt;;
      );
    }
  }
  </code></pre>
  
  <p>What is wrong on this code and how can I fix it?</p>