UNLV-CS472-672 / 2024-S-GROUP5-Munch

The Munch app is a social platform where users create profiles by selecting preferred foods.
1 stars 11 forks source link

Created Context for User #81

Closed noodaj closed 6 months ago

noodaj commented 6 months ago

Description / Changes Made

Portions of this code that utilized AI generation

None

Screenshots (optional)

None

How to Test

  1. Clone the repo, and in the app/_layout.tsx, destruct {token, user, user_id} from theuseContext (line 91).
  2. Put a console.log in the index.tsx and login.tsx with the destructured items inside there and see that when logged in, it should have the items and when logged out, they should be cleared.

Checklist