feat(rankings): remove 'all' period option from rankings and related components

This commit is contained in:
CaIon
2026-06-18 17:56:45 +08:00
parent 50784c10ee
commit 21d4d18dfc
7 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import { Rankings } from '@/features/rankings'
const rankingsSearchSchema = z.object({
period: z
.enum(['today', 'week', 'month', 'year', 'all'])
.enum(['today', 'week', 'month', 'year'])
.optional()
.catch(undefined),
})