refactor: remove extra non-essential logging

This commit is contained in:
sethburkart123
2024-06-09 17:30:46 +10:00
parent e0ac71eba4
commit 13e1a832f2
8 changed files with 6 additions and 18 deletions
-1
View File
@@ -6,7 +6,6 @@ import { settingsState } from "../utils/listeners/SettingsState";
import { updateAllColors } from "./colors/Manager";
export async function AddBetterSEQTAElements() {
console.log('AddBetterSEQTAElements');
if (settingsState.onoff) {
initializeSettings();
if (settingsState.DarkMode) {
-1
View File
@@ -18,7 +18,6 @@ export function updateBgDurations() {
maxBase = 150,
) => {
const scaledValue = 2 + ((maxBase - baseValue) / (maxBase - minBase)) ** 4;
console.log(scaledValue);
return scaledValue + offset;
};
+2 -4
View File
@@ -108,10 +108,8 @@ const main = async (): Promise<void> => {
}
});
} catch (error) {
console.log('An error occurred:', error);
console.error('An error occurred:', error);
}
};
main()
// Run the main function when the document is ready
//document.addEventListener('DOMContentLoaded', main);
main()