raygdev / repair-order-tracker

A repair order tracker for automotive technicians
https://repair-order-tracker.vercel.app
3 stars 1 forks source link

Provide an auth listener for context #53

Open raygdev opened 8 hours ago

raygdev commented 8 hours ago

I need a way to wrap the app in an auth context. Create an auth service that uses listeners and listen for login and logout events to be able to update the context. Currently using the authenticated root loader data as an auth hook.