mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 11:55:42 +00:00
refactor: ( auth ) comment out the auth
This commit is contained in:
@@ -4,7 +4,7 @@ import { useEffect, useState } from 'react';
|
|||||||
import { useRouter } from 'next/navigation';
|
import { useRouter } from 'next/navigation';
|
||||||
import { useAuthStore } from '@/lib/auth-store';
|
import { useAuthStore } from '@/lib/auth-store';
|
||||||
import { useBookingStore } from '@/lib/booking-store';
|
import { useBookingStore } from '@/lib/booking-store';
|
||||||
import { LogIn, UserPlus, ChevronLeft } from 'lucide-react';
|
import { UserPlus, ChevronLeft } from 'lucide-react';
|
||||||
|
|
||||||
function Tooltip({ children, content }: { children: React.ReactNode; content: string[] }) {
|
function Tooltip({ children, content }: { children: React.ReactNode; content: string[] }) {
|
||||||
const [visible, setVisible] = useState(false);
|
const [visible, setVisible] = useState(false);
|
||||||
@@ -95,6 +95,7 @@ export default function AuthCheckPage() {
|
|||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
{/* TODO: re-enable once auth is integrated
|
||||||
<Tooltip content={[
|
<Tooltip content={[
|
||||||
'Saved passenger details',
|
'Saved passenger details',
|
||||||
'View booking history',
|
'View booking history',
|
||||||
@@ -108,6 +109,7 @@ export default function AuthCheckPage() {
|
|||||||
SignIn or Register
|
SignIn or Register
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
*/}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-8 text-center">
|
<div className="mt-8 text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user