MCPcopy Create free account
hub / github.com/Sethispr/image-compressor / handleSettingsUpdate

Function handleSettingsUpdate

App.tsx:153–158  ·  view source on GitHub ↗
(
    key: K,
    value: OptimizerConfiguration[K],
  )

Source from the content-addressed store, hash-verified

151 );
152
153 const handleSettingsUpdate = <K extends keyof OptimizerConfiguration>(
154 key: K,
155 value: OptimizerConfiguration[K],
156 ) => {
157 setSettings(prev => ({...prev, [key]: value}));
158 };
159
160 const inspectionUrls = useMemo(() => {
161 if (!inspectedJob || !inspectedJob.optimizedBlob) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected