atmosphere explorer
0
fork

Configure Feed

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

clear collection cache after deleting a record

Juliet cd15048f 260570cb

+2
+2
src/views/record.tsx
··· 33 33 resolveLexiconSchema, 34 34 resolvePDS, 35 35 } from "../utils/api.js"; 36 + import { clearCollectionCache } from "../utils/route-cache.js"; 36 37 import { AtUri, uriTemplates } from "../utils/templates.js"; 37 38 import { lexicons } from "../utils/types/lexicons.js"; 38 39 ··· 334 335 type: "success", 335 336 }); 336 337 setTimeout(() => removeNotification(id), 3000); 338 + clearCollectionCache(`${params.pds}/${params.repo}/${params.collection}`); 337 339 navigate(`/at://${params.repo}/${params.collection}`); 338 340 }; 339 341