Closed vitokhangnguyen closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/andrewnt219/rent-near-me/5B3U7xHE2UCwttSY1jZSPTG61qsy
✅ Preview: https://rent-near-me-git-vitokhangnguyen-issue105-andrewnt219.vercel.app
Closes #105
Basically, same idea is in
useAuth()
, if theprofile
isundefined
means it's not ready andnull
means nonexitent