From 07b68c15070823c2a8befff90a02be9959624abc Mon Sep 17 00:00:00 2001 From: ajay pediredla Date: Fri, 17 Mar 2023 21:21:16 +0530 Subject: [PATCH 1/2] account section added successfully --- com-dict-client/.env.sample | 4 - .../src/components/Header/index.js | 46 +++- .../components/Profile/SubscriptionCard.js | 30 +++ com-dict-client/src/containers/home/home.css | 56 ++++- .../src/containers/profile/profile.js | 236 ++++++++++++++++++ com-dict-client/src/routes.js | 2 + package-lock.json | 6 + 7 files changed, 368 insertions(+), 12 deletions(-) delete mode 100644 com-dict-client/.env.sample create mode 100644 com-dict-client/src/components/Profile/SubscriptionCard.js create mode 100644 com-dict-client/src/containers/profile/profile.js create mode 100644 package-lock.json diff --git a/com-dict-client/.env.sample b/com-dict-client/.env.sample deleted file mode 100644 index 50c326a..0000000 --- a/com-dict-client/.env.sample +++ /dev/null @@ -1,4 +0,0 @@ -REACT_APP_FIREBASE_API_KEY = -REACT_APP_FIREBASE_PROJECT_ID = -REACT_APP_FIREBASE_MESSAGING_SENDER_ID = -REACT_APP_FIREBASE_APP_ID = \ No newline at end of file diff --git a/com-dict-client/src/components/Header/index.js b/com-dict-client/src/components/Header/index.js index a4824f0..8c3c7fc 100644 --- a/com-dict-client/src/components/Header/index.js +++ b/com-dict-client/src/components/Header/index.js @@ -17,9 +17,9 @@ function TitleBar() { const firebase = useFirebase(); const history = useHistory(); const user = useSelector((state) => state.firebase.auth); - console.log(user); const location = useLocation(); console.log(location.pathname); + const { Title } = Typography; return (