diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-11-23 16:20:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 16:20:24 -0800 |
commit | 32bf8122e8c8a0fbadd53b8a015cfbc9014519a2 (patch) | |
tree | 55bd24596e6fadadbf4326b26e3d14e418c5c7bb /src/components/hooks | |
parent | 523d1f01a51c0e85e49916fb42b204f7004ffac1 (diff) | |
parent | b4d07c4112b9a62b5380948051aa4a7fd391a2d4 (diff) | |
download | voidsky-32bf8122e8c8a0fbadd53b8a015cfbc9014519a2.tar.zst |
Merge branch 'main' into main
Diffstat (limited to 'src/components/hooks')
-rw-r--r-- | src/components/hooks/dates.ts | 6 | ||||
-rw-r--r-- | src/components/hooks/useFollowMethods.ts | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index 89c483d3c..28bb7635c 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -16,6 +16,7 @@ import { es, fi, fr, + gl, hi, hu, id, @@ -23,11 +24,13 @@ import { ja, ko, nl, + pl, ptBR, ru, th, tr, uk, + vi, zhCN, zhHK, zhTW, @@ -48,6 +51,7 @@ const locales: Record<AppLanguage, Locale | undefined> = { fi, fr, ga: undefined, + gl, hi, hu, id, @@ -55,11 +59,13 @@ const locales: Record<AppLanguage, Locale | undefined> = { ja, ko, nl, + pl, ['pt-BR']: ptBR, ru, th, tr, uk, + vi, ['zh-CN']: zhCN, ['zh-HK']: zhHK, ['zh-TW']: zhTW, diff --git a/src/components/hooks/useFollowMethods.ts b/src/components/hooks/useFollowMethods.ts index 31a1e43da..d67c3690f 100644 --- a/src/components/hooks/useFollowMethods.ts +++ b/src/components/hooks/useFollowMethods.ts @@ -15,8 +15,8 @@ export function useFollowMethods({ logContext, }: { profile: Shadow<AppBskyActorDefs.ProfileViewBasic> - logContext: LogEvents['profile:follow:sampled']['logContext'] & - LogEvents['profile:unfollow:sampled']['logContext'] + logContext: LogEvents['profile:follow']['logContext'] & + LogEvents['profile:unfollow']['logContext'] }) { const {_} = useLingui() const requireAuth = useRequireAuth() |