remove debug logs

This commit is contained in:
Paul Bienkowski 2021-11-30 19:54:18 +01:00
parent e481356af4
commit 989b294791

View file

@ -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])