From e76d53988606c48012acf32c00b87de91c09e444 Mon Sep 17 00:00:00 2001 From: Nikhil M Warrier Date: Tue, 3 Mar 2026 09:30:05 +0530 Subject: Fix schema errors --- src/lib/utils.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/utils.ts') diff --git a/src/lib/utils.ts b/src/lib/utils.ts index e2e005b..e0c94ca 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -36,12 +36,12 @@ export function getHeadingMargin(depth: number): string { return margins[depth] || '' } export function capitalizeFirstLetter(val: string): string { - return String(val).charAt(0).toUpperCase() + String(val).slice(1); + return String(val).charAt(0).toUpperCase() + String(val).slice(1) } -export const iconMappings = { - "workshop": "lucide:hammer", - "competition": "lucide:trophy", - "game": "lucide:gamepad-2", - "quiz": "lucide:brain" +export const iconMappings: Record = { + workshop: 'lucide:hammer', + competition: 'lucide:trophy', + game: 'lucide:gamepad-2', + quiz: 'lucide:brain', } -- cgit v1.2.3