MCPcopy Create free account
hub / github.com/dailydotdev/apps / onError

Function onError

packages/shared/src/components/fields/ImageInput.tsx:109–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 };
108
109 const onError = () => setImage(fallbackImage);
110
111 return (
112 <div className={className?.root || 'relative z-1 flex w-min'}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected