1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 09:24:35 +00:00

chore: login prompt dialog bug fixed

This commit is contained in:
Saad Jutt
2021-09-09 11:29:12 +05:00
parent 3ae0809ee5
commit 4623b9665b

View File

@@ -54,7 +54,7 @@ export const openLoginPrompt = (): Promise<boolean> => {
})
}
const closeLoginPrompt = () => {
Object.keys(domIDs).forEach((id) => {
Object.values(domIDs).forEach((id) => {
const elem = document.getElementById(id)
elem?.parentNode?.removeChild(elem)
})