chore: fix component naming
This commit is contained in:
@@ -35,7 +35,7 @@ interface ProtectedRouteProps {
|
||||
*
|
||||
* @returns JSX.Element
|
||||
*/
|
||||
export const PublicRoute = ({
|
||||
export const ProtectedRoute = ({
|
||||
roles = [],
|
||||
}: ProtectedRouteProps): React.JSX.Element => {
|
||||
const { data, isLoading, error, fetchCurrentUser } = useFetchCurrentUser();
|
||||
|
||||
Reference in New Issue
Block a user