Adressing comments

This commit is contained in:
Jarosław Sadziński 2023-01-03 17:47:46 +01:00
parent f8795efff8
commit 0bd759a40b
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ export function buildMultiUserManagerModal(
{ style: 'margin: 32px 64px; display: flex;' },
bigPrimaryButton('Confirm',
dom.boolAttr('disabled', (use) => !use(enableAdd)),
dom.on('click', () => { save(ctl); }),
dom.on('click', () => save(ctl)),
testId('um-confirm')
),
bigBasicButton(

View File

@ -7,9 +7,9 @@ import {JSDOM} from 'jsdom';
describe('localization', function() {
let instance: i18n;
before(() => {
before(async () => {
instance = i18next.createInstance();
void instance.init({
await instance.init({
lng: 'en',
resources: {
en: {