Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ColmapView/Colmapview.github.io
/ generateId
Function
generateId
src/store/stores/notificationStore.ts:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
let
notificationIdCounter = 0;
20
21
function
generateId(): string {
22
return
`notification-${Date.now()}-${++notificationIdCounter}`;
23
}
24
25
export
const
useNotificationStore = create<NotificationState>((set) => ({
26
notifications: [],
Callers
1
notificationStore.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected