import { PersistedStateKey, ImmutablePersistedStateKey } from '../types';

export const PERSISTED_STATE_WHITELIST: PersistedStateKey[] = [
  'tab',
  'account',
  'hitBlocklist',
  'hitDatabase',
  'requesterBlocklist',
  'sortingOption',
  'searchOptions',
  'topticonSettings',
  'watchers',
  'watcherFolders',
  'watcherTreeSettings',
  'audioSettingsV1',
  'dailyEarningsGoal',
  'notificationSettings'
];

export const IMMUTABLE_PERSISTED_STATE_WHITELIST: ImmutablePersistedStateKey[] = [
  'hitBlocklist',
  'requesterBlocklist',
  'watchers',
  'hitDatabase'
];

import { PersistedStateKey, ImmutablePersistedStateKey } from '../types';

export const PERSISTED_STATE_WHITELIST: PersistedStateKey[] = [
  'tab',
  'account',
  'hitBlocklist',
  'hitDatabase',
  'requesterBlocklist',
  'sortingOption',
  'searchOptions',
  'topticonSettings',
  'watchers',
  'audioSettingsV1',
  'dailyEarningsGoal',
  'notificationSettings'
];

export const IMMUTABLE_PERSISTED_STATE_WHITELIST: ImmutablePersistedStateKey[] = [
  'hitBlocklist',
  'requesterBlocklist',
  'watchers',
  'hitDatabase'
];

--- 
+++ 
@@ -10,6 +10,8 @@
   'searchOptions',
   'topticonSettings',
   'watchers',
+  'watcherFolders',
+  'watcherTreeSettings',
   'audioSettingsV1',
   'dailyEarningsGoal',
   'notificationSettings'
Add watcherFolders and watcherTreeSettings to PERSISTED_STATE_WHITELIST.
