Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaigh committed Sep 12, 2024
1 parent 26a4a5d commit 63a1938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/client/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ define('forum/register', [
if (results.every(obj => obj.status === 'rejected')) {
showSuccess(usernameInput, username_notify, successIcon);
} else {
showError(usernameInput, username_notify, '[[error:username-taken, '+username + 'suffix' +']]');
showError(usernameInput, username_notify, '[[error:username-taken, ${username}suffix]]');

Check failure on line 138 in public/src/client/register.js

View workflow job for this annotation

GitHub Actions / test

Unexpected template string expression
}

callback();
Expand Down

0 comments on commit 63a1938

Please sign in to comment.