MCPcopy Create free account
hub / github.com/Seanium/ChatMap / generateId

Function generateId

components/chat-interface.tsx:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79 // 生成唯一ID
80 const generateId = () => {
81 return Date.now().toString(36) + Math.random().toString(36).substr(2)
82 }
83
84 // 调整文本域高度的函数
85 const adjustTextareaHeight = (e: React.ChangeEvent<HTMLTextAreaElement>) => {

Callers 2

handleSubmitFunction · 0.85
handleSuggestedQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected