MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / showEditMessageModal

Function showEditMessageModal

apps/web/ui/Thread/index.tsx:153–159  ·  view source on GitHub ↗
(threadId: string, messageId: string)

Source from the content-addressed store, hash-verified

151 }, []);
152
153 function showEditMessageModal(threadId: string, messageId: string) {
154 const message = thread.messages.find(
155 ({ id }: SerializedMessage) => id === messageId
156 );
157 setEditedMessage(message);
158 setModal(ModalView.EDIT_MESSAGE_MODAL);
159 }
160
161 function isThreadCreator(
162 currentUser: SerializedUser | null,

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected