Final
This commit is contained in:
@@ -358,7 +358,7 @@ export default function AnalyticsPage() {
|
||||
<td className="px-4 py-4 align-middle">
|
||||
<Badge variant={
|
||||
country.trend === 'up' ? 'success' :
|
||||
country.trend === 'down' ? 'destructive' :
|
||||
country.trend === 'down' ? 'error' :
|
||||
'default'
|
||||
}>
|
||||
{country.trend === 'up' ? '↑' : country.trend === 'down' ? '↓' : '→'} {country.trendPercentage}%{country.isNew ? ' (new)' : ''}
|
||||
@@ -407,7 +407,7 @@ export default function AnalyticsPage() {
|
||||
<td className="px-4 py-4 align-middle">
|
||||
<Badge variant={
|
||||
qr.trend === 'up' ? 'success' :
|
||||
qr.trend === 'down' ? 'destructive' :
|
||||
qr.trend === 'down' ? 'error' :
|
||||
'default'
|
||||
}>
|
||||
{qr.trend === 'up' ? '↑' : qr.trend === 'down' ? '↓' : '→'} {qr.trendPercentage}%{qr.isNew ? ' (new)' : ''}
|
||||
|
||||
@@ -23,6 +23,7 @@ interface QRCodeData {
|
||||
createdAt: string;
|
||||
scans: number;
|
||||
style?: any;
|
||||
status?: 'ACTIVE' | 'INACTIVE';
|
||||
}
|
||||
|
||||
export default function DashboardPage() {
|
||||
|
||||
Reference in New Issue
Block a user