Hackfix to avoid creating identical profile objects during account creation

zio/stable
Paul Frazee 2024-02-07 10:03:26 -08:00
parent fc40b200ed
commit 32020d62d6
1 changed files with 6 additions and 0 deletions

View File

@ -237,6 +237,12 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
/*dont await*/ agent.upsertProfile(_existing => { /*dont await*/ agent.upsertProfile(_existing => {
return { return {
displayName: '', displayName: '',
// HACKFIX
// creating a bunch of identical profile objects is breaking the relay
// tossing this unspecced field onto it to reduce the size of the problem
// -prf
createdAt: new Date().toISOString(),
} }
}) })
} }