Skip to content

Commit

Permalink
feat(FE) : auth 알림 함수 비동기처리(#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
SUMMERLOVE7 committed Feb 20, 2023
1 parent 094a443 commit ba10ef2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/components/auth/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const register = () => {

navigate('/card');
await regiseterUser(data);
notification('로그아웃', 'logout')();
await notification('회원가입', 'register')();
};

const addInputForm = (fragment) => (input) => inputForm({ ...input, target: fragment })();
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/MainPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const navigateMain = async () => {
MainPage.render(),
addEvents,
slider(),
// () => notification("logout", "logout")(),
//() => notification("logout", "logout")(),
() => $.qsa('.mark-used-button'),
makeUsedState,
() => $.qs('.main-dropdown-button'),
Expand Down
6 changes: 3 additions & 3 deletions client/src/styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
padding: 1.5rem 0;
width: 100%;
position: absolute;
bottom: calc(-50px - 3rem);
bottom: calc(-50px - 1.1rem);
transition: transform 0.3s ease-in-out;
z-index: 15;

p {
font-size: calc(-50px - 3rem);
font-size: 1.5rem;
text-align: center;
}

&.show {
transform: translateY(-50px);
transform: translateY(calc(-50px - 1.1rem));
}
}

Expand Down

0 comments on commit ba10ef2

Please sign in to comment.