MCPcopy
hub / github.com/darkreader/darkreader / reset

Function reset

src/ui/stylesheet-editor/components/body.tsx:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 ) : null;
56
57 function reset() {
58 context.store.isDialogVisible = false;
59 applyStyleSheet('');
60 }
61
62 function apply() {
63 const css = textNode.value;

Callers

nothing calls this directly

Calls 1

applyStyleSheetFunction · 0.85

Tested by

no test coverage detected