mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
chore(ai): remove dead code (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
13f8b9f6aa
commit
60fa6c4282
10 files changed
+81
-154
No files matched your search
+1
-13
@@ -307,19 +307,7 @@ const applyTheme = (theme, { persist = true } = {}) => {
|
||||
return normalized;
|
||||
};
|
||||
|
||||
export const setThemeAccentOverrides = (overrides) => {
|
||||
setAccentOverrides(overrides);
|
||||
|
||||
const root = getRootElement();
|
||||
if (!root) {
|
||||
return;
|
||||
}
|
||||
|
||||
const theme = currentTheme || FALLBACK_THEME;
|
||||
applyAccentOverrides(root, theme);
|
||||
};
|
||||
|
||||
export const setTheme = (theme) => {
|
||||
const setTheme = (theme) => {
|
||||
if (!isBrowser()) {
|
||||
currentTheme = normalizeTheme(theme) || FALLBACK_THEME;
|
||||
return currentTheme;
|
||||
|
||||
Reference in new issue
Block a user