Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/admineral/OpenAI-Assistant-API-Chat
/ genId
Function
genId
components/ui/use-toast.ts:28–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
let
count = 0
27
28
function
genId() {
29
count = (count + 1) % Number.MAX_SAFE_INTEGER
30
return
count.toString()
31
}
32
33
type
ActionType = typeof actionTypes
34
Callers
1
toast
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected