1. 19
    Create an Admin User Hook using Remix to Verify Admin Users
    2m 43s

Create an Admin User Hook using Remix to Verify Admin Users

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

We have an admin button but we really only want to show that if the user is logged in as an admin. Using our env variable from the last lesson, we can check to see if the user is an admin or not to be able to display that button.