MCPcopy 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

19let notificationIdCounter = 0;
20
21function generateId(): string {
22 return `notification-${Date.now()}-${++notificationIdCounter}`;
23}
24
25export const useNotificationStore = create<NotificationState>((set) => ({
26 notifications: [],

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected