MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / getResetState

Method getResetState

src/scripts/clipperUI/clipper.tsx:116–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 private getResetState(): ClipperState {
117 return {
118 currentMode: this.state.currentMode.set(this.getDefaultClipMode()),
119 oneNoteApiResult: { status: Status.NotStarted }
120 };
121 }
122
123 private initializeInjectCommunicator(pageInfo: SmartValue<PageInfo>, clientInfo: SmartValue<ClientInfo>) {
124 // Clear the inject no-op tracker

Callers 2

getInitialStateMethod · 0.95
getSignOutStateMethod · 0.95

Calls 2

getDefaultClipModeMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected