Skip to content

Commit e95f79a

Browse files
committed
Removed global theme from being reassigned
1 parent 86bf98a commit e95f79a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

web/pgadmin/static/js/Theme/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,6 @@ export default function Theme({children}) {
927927
useEffect(() => {
928928
if (selectedTheme !== 'system') {
929929
setTheme(selectedTheme);
930-
window.theme = selectedTheme; // Update global theme
931930
return;
932931
}
933932

0 commit comments

Comments
 (0)