Skip to content

Commit

Permalink
Merge pull request #170 from JNU-econovation/FE
Browse files Browse the repository at this point in the history
feat: 브랜치 최신화
  • Loading branch information
kanghaeun authored Jul 26, 2024
2 parents 79c0704 + 3c091b6 commit 8240d14
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions FE/error/src/components/EconoCalendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import CreateModal from "./scheduleCreate/CreateModal";
import CheckCalendar from "./scheduleCheck/CheckCalendar";

const EconoCalendar = ({
updateDeleteFilter,
isLoggedIn,
setIsLoggedIn,
setEvents,
Expand Down Expand Up @@ -70,16 +69,10 @@ const EconoCalendar = ({
// setIsLoggedIn(true);
// }
//TODO: 추후 아래 코드로 변경
//}
} else {
const newToken = "dummyToken" + Math.random().toString(36).substr(2, 9); // 임의의 토큰 생성
localStorage.setItem("slackToken", newToken);
setToken(newToken);
setIsLoggedIn(true);
window.location.href = "/login";
}
//TODO: 추후 아래 코드로 변경
// } else {
// window.location.href = "/login";
// }
};

return (
Expand Down

0 comments on commit 8240d14

Please sign in to comment.