feat: filter by lang

This commit is contained in:
2026-08-11 13:19:25 +02:00
parent c8656d6273
commit 0165e8b44d
8 changed files with 139 additions and 29 deletions
+2
View File
@@ -222,9 +222,11 @@ export default ({ children }) => {
try {
await setIsLoading(true)
const artistDisplayName = getUserPreferredArtistName(currentUserDoc || currentUserData || {})
const lang = currentUserDoc?.preferredLanguage === 'en' ? 'en' : 'fr'
const payload = {
userId: currentUID || null,
userName: artistDisplayName,
lang,
createdAt: firebase.firestore.FieldValue.serverTimestamp(),
updatedAt: firebase.firestore.FieldValue.serverTimestamp(),
}