Solved, "No userPool" error at aws-amplify


"No userPool" error at aws-amplify is soloved below.

  import Amplify from 'aws-amplify';
  import * as aws_exports from './aws-exports';
- Amplify.configure(aws_exports);
+ Amplify.configure(aws_exports.default);

in index.tsx.