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