Clear link and gif caches to avoid pointing at missing files (#9898)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Spence Pope
2026-02-17 10:39:34 -05:00
committed by GitHub
parent e67d81f269
commit 197c069416
2 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ import {STALE} from '#/state/queries/index'
import {useAgent} from '#/state/session'
import {type Gif} from './tenor'
const RQKEY_LINK_ROOT = 'resolve-link'
export const RQKEY_LINK_ROOT = 'resolve-link'
export const RQKEY_LINK = (url: string) => [RQKEY_LINK_ROOT, url]
const RQKEY_GIF_ROOT = 'resolve-gif'
export const RQKEY_GIF_ROOT = 'resolve-gif'
export const RQKEY_GIF = (url: string) => [RQKEY_GIF_ROOT, url]
export function useResolveLinkQuery(url: string) {