Use const instead of let when possible
This commit is contained in:
@@ -87,7 +87,7 @@ BoxPopup {
|
||||
// TODO: handle these: real user not found
|
||||
const lines = []
|
||||
|
||||
for (let [user, error] of failedInvites) {
|
||||
for (const [user, error] of failedInvites) {
|
||||
const type = py.getattr(
|
||||
py.getattr(error, "__class__"), "__name__",
|
||||
)
|
||||
|
@@ -35,7 +35,7 @@ BoxPopup {
|
||||
|
||||
box.buttonCallbacks: ({
|
||||
ok: button => {
|
||||
let password = passwordField.text
|
||||
const password = passwordField.text
|
||||
okClicked = true
|
||||
button.loading = true
|
||||
errorMessage.text = ""
|
||||
|
Reference in New Issue
Block a user