MCPcopy
hub / github.com/mifi/lossless-cut / onClick

Function onClick

src/renderer/src/dialogs/index.tsx:104–107  ·  view source on GitHub ↗
(key?: OpenFileResponse)

Source from the content-addressed store, hash-verified

102 let value: OpenFileResponse | undefined;
103
104 function onClick(key?: OpenFileResponse) {
105 value = key;
106 getSwal().Swal.close();
107 }
108
109 const swal = getSwal().ReactSwal.fire({
110 html: (

Callers 3

askForFileOpenActionFunction · 0.70
SegmentList.tsxFile · 0.50
MarkerFunction · 0.50

Calls 1

getSwalFunction · 0.85

Tested by

no test coverage detected