1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove redundant global override

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-05-18 11:09:33 +03:00
parent 18b1f6df35
commit f27ef39716
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -43,7 +43,6 @@ import type { IpcRenderer } from "electron";
import setupOnApiErrorListenersInjectable from "./api/setup-on-api-errors.injectable";
import { observable } from "mobx";
import defaultShellInjectable from "./components/+preferences/default-shell.injectable";
import themeStoreInjectable from "./themes/store.injectable";
import notificationListenerInjectable from "./components/notifications/notification-listener.injectable";
import { notificationChannel } from "../common/notification/notification-channel";
@ -135,14 +134,6 @@ export const getDiForUnitTesting = (opts: GetDiForUnitTestingOptions = {}) => {
info: noop,
silly: noop,
}));
di.override(themeStoreInjectable, () => ({
activeTheme: {
type: "some-active-theme-type",
},
themeOptions: [],
}));
}
return di;