Skip to content

Commit 715b564

Browse files
committed
lint
1 parent bfd3b8e commit 715b564

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/remix-ide/src/app/pages/GitHubPopupCallback.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ export const GitHubPopupCallback = () => {
2424
const hasRun = useRef(false)
2525

2626
const exchangeToken = async () => {
27-
27+
2828
const code = extractCode()
2929
window.history.replaceState({}, document.title, window.location.pathname)
3030

31-
3231
if (!code) {
3332
console.warn('[GitHubPopupCallback] Missing code', { code })
3433
window.opener?.postMessage({ type: 'GITHUB_AUTH_FAILURE', error: 'missing code' }, window.location.origin)
@@ -46,7 +45,6 @@ export const GitHubPopupCallback = () => {
4645
}
4746
})
4847

49-
5048
if (data.access_token) {
5149
window.opener?.postMessage({ type: 'GITHUB_AUTH_SUCCESS', token: data.access_token }, window.location.origin)
5250
} else {

0 commit comments

Comments
 (0)