remove unnecesarry theme updates

This commit is contained in:
SethBurkart123
2024-05-06 11:39:21 +10:00
parent 23e6eac16c
commit 3db51fb6d5
4 changed files with 5 additions and 17 deletions
-2
View File
@@ -3,7 +3,6 @@ import localforage from 'localforage';
import { CustomTheme } from '../../../interface/types/CustomThemes';
import { applyTheme } from './applyTheme';
import { removeTheme } from './removeTheme';
import sendThemeUpdate from '../../utils/sendThemeUpdate';
export const setTheme = async (themeId: string) => {
@@ -39,7 +38,6 @@ export const setTheme = async (themeId: string) => {
originalSelectedColor: originalSelectedColor.selectedColor
});
sendThemeUpdate();
} catch (error) {
console.error('Error setting theme:', error);
}