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

Function onGifCommand

packages/shared/src/components/fields/RichTextInput.tsx:539–541  ·  view source on GitHub ↗
(gifUrl: string, altText: string)

Source from the content-addressed store, hash-verified

537 });
538
539 const onGifCommand = async (gifUrl: string, altText: string) => {
540 upload.insertImage(gifUrl, altText);
541 };
542
543 const rememberScroll = useCallback(() => {
544 scrollOffsetRef.current = scrollContainerRef.current?.scrollTop ?? 0;

Callers 1

handleGifClickFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected