mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
138 stars 38 forks source link

FIX: new user have no ownerData after login #40

Closed theodorusclarence closed 1 year ago

theodorusclarence commented 1 year ago

[Please rebase as there is 2 distinct commits that shouldn't be squashed]

Problem

https://github.com/mazipan/tanyaaja/assets/55318172/75fece95-d664-49a5-8a41-6559dc344bd0

Fix

https://github.com/mazipan/tanyaaja/assets/55318172/6339dcc0-1ab2-4db1-a50c-189d8998cc2a

  1. Add a pre-populate cache from firebase auth
  2. refetch after new user is successfully added
vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @mazipan on Vercel.

@mazipan first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tanyaaja ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2023 4:16pm