Skip to content

Commit

Permalink
feat: LoginPage js 파일 user 변수 선언 관련 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kooyoonji committed Oct 31, 2024
1 parent f5bae98 commit f9cdfb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/LoginPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import "./LoginPage.css";
function LoginPage() {
const navigate = useNavigate();
const [user, setUser] = useState(null);
console.log(user); // 추후 사용을 위해 콘솔에 출력하여 경고 제거

const handleLoginSuccess = (credentialResponse) => {
const decoded = jwtDecode(credentialResponse.credential);
Expand Down

0 comments on commit f9cdfb6

Please sign in to comment.