Skip to content

Commit

Permalink
Updated Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
imsurajj committed Nov 27, 2024
1 parent 5c81e8d commit ec61cf7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/documentation/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
'use client';

import { ProtectedRoute } from '@/components/ProtectedRoute';
import { useAuth0 } from '@auth0/auth0-react';
import { motion } from 'framer-motion';

export default function DocumentationPage() {
const { user } = useAuth0();

return (
<ProtectedRoute>
Expand All @@ -20,7 +18,7 @@ export default function DocumentationPage() {
<div className="mb-8">
<h1 className="text-4xl font-bold mb-4">Documentation</h1>
<p className="text-gray-400">
Welcome {user?.name || 'User'} to our comprehensive documentation.
Welcome to our comprehensive documentation.
</p>
</div>

Expand Down

0 comments on commit ec61cf7

Please sign in to comment.