add supabase authentication
This commit is contained in:
@@ -12,11 +12,12 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/com
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Avatar, AvatarFallback } from '@/components/ui/avatar';
|
||||
import Navigation from '@/components/Navigation';
|
||||
import AuthGuard from '@/components/AuthGuard';
|
||||
import { FileText, User, Calendar, Mail } from 'lucide-react';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export default function CampaignPropositionsPage() {
|
||||
function CampaignPropositionsPageContent() {
|
||||
const params = useParams();
|
||||
const campaignId = params.id as string;
|
||||
const [campaign, setCampaign] = useState<Campaign | null>(null);
|
||||
@@ -295,3 +296,11 @@ export default function CampaignPropositionsPage() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function CampaignPropositionsPage() {
|
||||
return (
|
||||
<AuthGuard>
|
||||
<CampaignPropositionsPageContent />
|
||||
</AuthGuard>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user