about summary refs log tree commit diff
path: root/src/components/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/hooks')
-rw-r--r--src/components/hooks/dates.ts6
-rw-r--r--src/components/hooks/useFollowMethods.ts4
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()