diff --git a/src/components/molecules/GitHubLoginButton/GitHubLoginButton.tsx b/src/components/molecules/GitHubLoginButton/GitHubLoginButton.tsx index 5e56d9b6..45651c24 100644 --- a/src/components/molecules/GitHubLoginButton/GitHubLoginButton.tsx +++ b/src/components/molecules/GitHubLoginButton/GitHubLoginButton.tsx @@ -31,8 +31,6 @@ const GitHubLoginButton = () => { } const handleMessage = (event: MessageEvent) => { - if (event.origin !== 'http://localhost:8080') return; - const { type, response } = event.data; if (type === 'GITHUB_LOGIN_SUCCESS') { setAuthSocialLogin(response);