fix invites signup via lightning/slashtags
This commit is contained in:
parent
bc5a19c6ee
commit
b42a934207
|
@ -85,10 +85,13 @@ export default function Login ({ providers, callbackUrl, error, text, Header, Fo
|
|||
className={`mt-2 ${styles.providerButton}`}
|
||||
key={provider.id}
|
||||
type={provider.id.toLowerCase()}
|
||||
onClick={() => router.push({
|
||||
pathname: router.pathname,
|
||||
query: { callbackUrl: router.query.callbackUrl, type: provider.name.toLowerCase() }
|
||||
})}
|
||||
onClick={() => {
|
||||
const { nodata, ...query } = router.query
|
||||
router.push({
|
||||
pathname: router.pathname,
|
||||
query: { ...query, type: provider.name.toLowerCase() }
|
||||
})
|
||||
}}
|
||||
text={`${text || 'Login'} with`}
|
||||
/>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue