Hackfix to avoid creating identical profile objects during account creation
parent
fc40b200ed
commit
32020d62d6
|
@ -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(),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue