From bc5945e45617ff4f2b11c75accd54ab4009bd1f4 Mon Sep 17 00:00:00 2001 From: graysonecooper Date: Sun, 27 Nov 2022 15:26:24 -0500 Subject: [PATCH] Amplify named export Replaced Amplify with named export https://github.com/aws-amplify/amplify-js/issues/6411#issuecomment-665719562 --- basic-authentication/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic-authentication/src/index.js b/basic-authentication/src/index.js index b73fde6..a226e57 100644 --- a/basic-authentication/src/index.js +++ b/basic-authentication/src/index.js @@ -4,8 +4,8 @@ import './index.css'; import Router from './Router'; import 'antd/dist/antd.css'; -import Amplify from 'aws-amplify' +import { Amplify } from 'aws-amplify' import config from './aws-exports' Amplify.configure(config) -ReactDOM.render(, document.getElementById('root')); \ No newline at end of file +ReactDOM.render(, document.getElementById('root'));