File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414} from "@/components/ui/alert-dialog" ;
1515import { format } from 'date-fns' ;
1616import { useTranslations } from 'next-intl' ;
17+ import { Ban } from 'lucide-react' ;
1718
1819interface AuthState {
1920 token : string | null ;
@@ -119,7 +120,8 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children
119120 < AlertDialog open = { ! ! banInfo } >
120121 < AlertDialogContent className = "bg-destructive text-destructive-foreground border-destructive-foreground/20" >
121122 < AlertDialogHeader >
122- < AlertDialogTitle className = "text-2xl font-bold" >
123+ < AlertDialogTitle className = "flex items-center gap-3 text-2xl font-bold" >
124+ < Ban className = "w-8 h-8 text-destructive-foreground" />
123125 { t ( 'title' ) }
124126 </ AlertDialogTitle >
125127 < AlertDialogDescription asChild >
@@ -130,7 +132,9 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children
130132 </ div >
131133 < div >
132134 < p className = "font-semibold" > { t ( 'untilLabel' ) } </ p >
133- < p className = "font-normal font-mono" > { format ( new Date ( banInfo . until ) , "yyyy-MM-dd HH:mm:ss" ) } </ p >
135+ < p className = "font-normal font-mono" >
136+ { format ( new Date ( banInfo . until ) , "yyyy-MM-dd HH:mm:ss" ) }
137+ </ p >
134138 </ div >
135139 </ div >
136140 </ AlertDialogDescription >
You can’t perform that action at this time.
0 commit comments