Skip to content

Commit ebba1cc

Browse files
hakjongiartemiev
authored andcommitted
fix: typo in import statement (#5072)
1 parent 03ea36c commit ebba1cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fragments/lib/auth/js/social.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ After configuring the OAuth endpoints (Cognito Hosted UI), you can integrate you
9292
import React, { useEffect, useState } from 'react';
9393
import { Amplify, Auth, Hub } from 'aws-amplify';
9494
import { CognitoHostedUIIdentityProvider } from '@aws-amplify/auth';
95-
import awsconfig from './aws-exports';
95+
import awsConfig from './aws-exports';
9696

97-
Amplify.configure(awsconfig);
97+
Amplify.configure(awsConfig);
9898

9999
function App() {
100100
const [user, setUser] = useState(null);
@@ -150,7 +150,7 @@ To deploy your app to Amplify Console with continuous deployment of the frontend
150150
```js
151151
import { useEffect, useState } from 'react';
152152
import { Amplify, Auth, Hub } from 'aws-amplify';
153-
import awsconfig from './aws-exports';
153+
import awsConfig from './aws-exports';
154154

155155
const isLocalhost = Boolean(
156156
window.location.hostname === 'localhost' ||

0 commit comments

Comments
 (0)