MCPcopy
hub / github.com/darkreader/darkreader / syncConfig

Function syncConfig

src/ui/options/advanced/sync-config.tsx:7–10  ·  view source on GitHub ↗
(syncSitesFixes: boolean)

Source from the content-addressed store, hash-verified

5
6export function SyncConfig(props: ViewProps): Malevic.Child {
7 function syncConfig(syncSitesFixes: boolean) {
8 props.actions.changeSettings({syncSitesFixes});
9 props.actions.loadConfig({local: !syncSitesFixes});
10 }
11
12 return (
13 <CheckButton

Callers

nothing calls this directly

Calls 2

changeSettingsMethod · 0.65
loadConfigMethod · 0.65

Tested by

no test coverage detected