Skip to content

Commit

Permalink
Merge pull request #94 from KakaoTech-BootCamp-Team-2/dev
Browse files Browse the repository at this point in the history
🚀 fix:배포후 환경변수호출확인
  • Loading branch information
Hanjuri authored Sep 10, 2024
2 parents 8095b38 + 39de024 commit f12f8c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/pages/join/KakaoLogin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ function KakaoLogin() {

useEffect(() => {
const accessToken = localStorage.getItem("kakao_access_token");
console.log(CLIENT_ID, REDIRECT_URL);
if (accessToken) {
alert("이미 로그인 되어있습니다!");
navigate("/list");
navigate("/join");
}
if (!window.Kakao) {
const script = document.createElement("script");
Expand Down
7 changes: 3 additions & 4 deletions src/pages/join/styled/JoinPage.styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ export const ContentLineWrapper2 = styled.div`
align-items: center;
justify-content: center;
margin: 5px;
background-color: beige;
`;
export const InputWrapper = styled.div`
display: flex;
align-items: center;
justify-content:center ;
justify-content:center;
width: 70%;
height: 50%;
Expand All @@ -80,7 +79,7 @@ export const Input = styled.input`
height: 95%;
border: 1.5px solid black;
outline: none;
border-radius: 20px;
font-size: 20px;
`;

Expand All @@ -89,6 +88,6 @@ width: 25%;
height: 100%;
border-radius: 15px;
background-color:#FFF7AE;
border: 2px solid black;
border: 1.5px solid black;
margin: 5px;
`

0 comments on commit f12f8c7

Please sign in to comment.