Skip to content

Commit

Permalink
Remove unused extension storage key/values
Browse files Browse the repository at this point in the history
  • Loading branch information
ruihildt committed Aug 19, 2024
1 parent e606073 commit 6884ae4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/composables/useStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ export type Store = {
globalProxy: Ref<ProxyInfo>;
globalProxyDetails: Ref<ProxyDetails>;
historyEntries: Ref<HistoryEntriesMap>;
mullvadAccount: Ref<string>;
proxiesList: Ref<Country[]>;
randomProxyActive: Ref<boolean>;
webRTCStatus: Ref<boolean>;
};

Expand All @@ -26,9 +24,7 @@ const useStore = (): Store => {
const hostProxies = useBrowserStorageLocal('hostProxies', {});
const hostProxiesDetails = useBrowserStorageLocal('hostProxiesDetails', {});
const historyEntries = useBrowserStorageLocal('historyEntries', {});
const mullvadAccount = useBrowserStorageLocal('mullvadAccount', '');
const proxiesList = useBrowserStorageLocal('proxiesList', [] as Country[]);
const randomProxyActive = useBrowserStorageLocal('randomProxyActive', false);
const webRTCStatus = useBrowserStorageLocal('webRTCStatus', true);
return {
excludedHosts,
Expand All @@ -37,9 +33,8 @@ const useStore = (): Store => {
hostProxies,
hostProxiesDetails,
historyEntries,
mullvadAccount,

proxiesList,
randomProxyActive,
webRTCStatus,
};
};
Expand Down

0 comments on commit 6884ae4

Please sign in to comment.