React Router v6 Private routes

Hi guys does anyone know how to create private routes just using moralis as way of authenticating access?

You can look at their docs for authentication with routes. You could use isAuthenticated from the useMoralis hook or verify using the current user object (user from useMoralis) if you need more granular control e.g. restrict based on wallet address.