diff --git a/chapter-06/photo-share-client/src/AuthorizedUser.js b/chapter-06/photo-share-client/src/AuthorizedUser.js index 6ae0cf5..9cde055 100644 --- a/chapter-06/photo-share-client/src/AuthorizedUser.js +++ b/chapter-06/photo-share-client/src/AuthorizedUser.js @@ -18,17 +18,17 @@ const CurrentUser = ({ name, avatar, logout }) => const Me = ({ logout, requestCode, signingIn }) => - - {({ loading, data }) => data.me ? - : - loading ? -

loading...

: - - } -
+ + {({ loading, data }) => loading ? +

loading...

: + data.me ? + : + + } +
class AuthorizedUser extends Component {