fix: add missing newlines at the end of JSON files; clean up formatting in page components
This commit is contained in:
@@ -75,7 +75,9 @@ export default async function PortalInvitePage({
|
||||
<Shield className="mx-auto mb-4 h-10 w-10 text-amber-500" />
|
||||
<h2 className="text-lg font-bold">{t('invite.expiredTitle')}</h2>
|
||||
<p className="text-muted-foreground mt-2 text-sm">
|
||||
{t('invite.expiredDesc', { date: formatDate(invitation.expires_at) })}
|
||||
{t('invite.expiredDesc', {
|
||||
date: formatDate(invitation.expires_at),
|
||||
})}
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
@@ -179,13 +179,17 @@ export function PortalLinkedAccounts({ slug }: { slug: string }) {
|
||||
|
||||
<AlertDialogContent>
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>{t('linkedAccounts.title')}</AlertDialogTitle>
|
||||
<AlertDialogTitle>
|
||||
{t('linkedAccounts.title')}
|
||||
</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
{t('linkedAccounts.disconnectDesc')}
|
||||
</AlertDialogDescription>
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
<AlertDialogCancel>{t('linkedAccounts.cancel')}</AlertDialogCancel>
|
||||
<AlertDialogCancel>
|
||||
{t('linkedAccounts.cancel')}
|
||||
</AlertDialogCancel>
|
||||
<AlertDialogAction
|
||||
onClick={() => handleUnlink(identity)}
|
||||
className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
|
||||
|
||||
@@ -3,13 +3,7 @@ import { redirect } from 'next/navigation';
|
||||
|
||||
import { createClient } from '@supabase/supabase-js';
|
||||
|
||||
import {
|
||||
UserCircle,
|
||||
Mail,
|
||||
MapPin,
|
||||
Shield,
|
||||
Link2,
|
||||
} from 'lucide-react';
|
||||
import { UserCircle, Mail, MapPin, Shield, Link2 } from 'lucide-react';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
|
||||
import { formatDate } from '@kit/shared/dates';
|
||||
|
||||
Reference in New Issue
Block a user