remove debug logs
This commit is contained in:
parent
e481356af4
commit
989b294791
|
@ -7,11 +7,9 @@ export default function LoginButton(props) {
|
||||||
const [busy, setBusy] = React.useState(false)
|
const [busy, setBusy] = React.useState(false)
|
||||||
|
|
||||||
const onClick = React.useCallback(async (e) => {
|
const onClick = React.useCallback(async (e) => {
|
||||||
console.log('aa')
|
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
setBusy(true)
|
setBusy(true)
|
||||||
const url = await api.makeLoginUrl()
|
const url = await api.makeLoginUrl()
|
||||||
console.log('go', url)
|
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
setBusy(false)
|
setBusy(false)
|
||||||
}, [setBusy])
|
}, [setBusy])
|
||||||
|
|
Loading…
Reference in a new issue