diff --git a/src/store/settings/settingsSlice.ts b/src/store/settings/settingsSlice.ts index 2a3457a044..7507b7eb9f 100644 --- a/src/store/settings/settingsSlice.ts +++ b/src/store/settings/settingsSlice.ts @@ -15,11 +15,7 @@ * along with this program. If not, see . */ -import { - createAsyncThunk, - createSlice, - type PayloadAction, -} from "@reduxjs/toolkit"; +import { createSlice, type PayloadAction } from "@reduxjs/toolkit"; import { AUTH_METHODS, type SettingsFlags, @@ -134,15 +130,6 @@ const settingsSlice = createSlice({ * triggers updating themeStorage in the background script. * @see activateTheme */ -export const updateLocalPartnerTheme = createAsyncThunk< - void, - string, - { state: SettingsState } ->("settings/updatePartnerTheme", async (partnerId, thunkAPI) => { - thunkAPI.dispatch(settingsSlice.actions.setPartnerId({ partnerId })); - await activateTheme(); -}); - export const useActivatePartnerTheme = (): (( partnerId: string | null, ) => void) => {