Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ onClose
Function
onClose
packages/shared/src/components/fields/ImageInput.tsx:103–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
};
102
103
const onClose = () => {
104
setImage(null);
105
onChange?.(null, null);
106
inputRef.current.value =
''
;
107
};
108
109
const onError = () => setImage(fallbackImage);
110
Callers
1
ForYouSheet
Function · 0.50
Calls
1
onChange
Function · 0.70
Tested by
no test coverage detected