Skip to content

Commit d3f2de9

Browse files
committed
undo test code
1 parent 42addc5 commit d3f2de9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

step-03/journal/src/pages/Home.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
import React, { Component } from 'react';
22
import { Lead, BSpan } from 'bootstrap-4-react';
3-
import { Auth } from 'aws-amplify';
43

54
export default class Home extends Component {
65
render() {
76
const { user } = this.props;
87

9-
if (user) {
10-
Auth.userAttributes(user)
11-
.then(attributes => console.log('attributes', attributes))
12-
.catch(err => console.log('attributes error', err));
13-
}
14-
158
return (
169
<React.Fragment>
1710
<h1>Home</h1>

0 commit comments

Comments
 (0)