fix: auth magic
The page contains extra buttons if the viewport is not large enough
This commit is contained in:
parent
54145a753a
commit
4b7cc3562e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export const getFileUrl = async (type: FileType, index = 0): Promise<string> =>
|
||||||
|
|
||||||
if (typeof magic !== 'string') {
|
if (typeof magic !== 'string') {
|
||||||
// force to retrieve the MAGIC
|
// force to retrieve the MAGIC
|
||||||
const el = document.querySelectorAll('._13vRI')[6] as HTMLButtonElement
|
const el = document.querySelectorAll('.SD7H- > button')[3] as HTMLButtonElement
|
||||||
el.click()
|
el.click()
|
||||||
magic = await magic
|
magic = await magic
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue