Skip to content

Commit

Permalink
Disable Require Atomic Updates as it was flagging every instance of t…
Browse files Browse the repository at this point in the history
…he app initializing
  • Loading branch information
BenjaminZehowlt committed Nov 14, 2023
1 parent 41638ce commit d4bb759
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions html/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import * as localizedStrings from './localization/localizedStrings.js';

// #endregion

/* eslint-disable require-atomic-updates */

speechSynthesis.getVoices();

// #region | Hey look it's most of VRCX!
Expand Down Expand Up @@ -14062,6 +14064,7 @@ speechSynthesis.getVoices();
JSON.stringify(this.notificationTable.filters[0].value)
);
};

$app.data.feedTable.filter = JSON.parse(
await configRepository.getString('VRCX_feedTableFilters', '[]')
);
Expand Down Expand Up @@ -24848,6 +24851,8 @@ speechSynthesis.getVoices();
});
};

/* eslint-disable require-atomic-updates */

$app.data.dtHour12 = await configRepository.getBool('VRCX_dtHour12', false);
$app.data.dtIsoFormat = await configRepository.getBool('VRCX_dtIsoFormat', false);
$app.methods.setDatetimeFormat = async function () {
Expand Down

0 comments on commit d4bb759

Please sign in to comment.