Update main.tsx

This commit is contained in:
kodxana 2022-05-02 11:49:00 +02:00 committed by GitHub
parent dfa1fd03a8
commit 7076a657fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ function WatchOnLbryPopup(params: { profile: Awaited<ReturnType<typeof getProfil
`top=${screenY}`,
`left=${screenX}`
].join(','))
close()
importPopupWindow?.focus()
}
@ -202,4 +203,4 @@ function renderPopup() {
getProfile().then((profile) => render(<WatchOnLbryPopup profile={profile} />, document.getElementById('root')!))
}
renderPopup()
renderPopup()