handy online tools for AT Protocol boat.kelinci.net
atproto bluesky atcute typescript solidjs
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: remove nanoid from history

Mary 53d78998 d1de16cb

+1 -2
+1 -2
src/lib/navigation/history.ts
··· 3 3 // Commit: 3e9dab413f4eda8d6bce565388c5ddb7aeff9f7e 4 4 // Most of the changes are just trimming it down to only include the browser 5 5 // history implementation. 6 - import { nanoid } from 'nanoid/non-secure'; 7 6 8 7 export type Action = 'traverse' | 'push' | 'replace' | 'update'; 9 8 ··· 327 326 }; 328 327 329 328 const createKey = () => { 330 - return nanoid(); 329 + return crypto.randomUUID(); 331 330 }; 332 331 333 332 /**