Skip to content

Commit

Permalink
Update EnableAuthenticator.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 10, 2023
1 parent 9f9c2fd commit bd4b047
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions MyApp/wwwroot/pages/Account/Manage/EnableAuthenticator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const loadJs = addScript('lib/js/qrcode.min.js')
export default {
async load() {
await loadJs
function render() {
new QRCode($1("#qrCode"), $1('#qrCodeData').getAttribute('data-url'))
}
render()
new QRCode($1("#qrCode"), $1('#qrCodeData').dataset.url)
}
}

0 comments on commit bd4b047

Please sign in to comment.