fix eslint errors for Vercel deployment
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
'use client';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import Link from 'next/link';
|
||||
import { supabase } from '@/lib/supabase';
|
||||
import { User } from '@supabase/supabase-js';
|
||||
import { Button } from '@/components/ui/button';
|
||||
@@ -153,7 +154,7 @@ export default function AuthGuard({ children }: AuthGuardProps) {
|
||||
|
||||
<div className="mt-4 text-center">
|
||||
<Button variant="ghost" asChild className="text-sm">
|
||||
<a href="/">Retour à l'accueil</a>
|
||||
<Link href="/">Retour à l'accueil</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user