1 parent 2ec12a7 commit 437e396Copy full SHA for 437e396
1 file changed
dashboard/src/components/dashboard/SolverWidget.tsx
@@ -122,7 +122,7 @@ export function SolverWidget({ onSolved }: SolverWidgetProps) {
122
id: title.toLowerCase().replace(/\s+/g, '-'),
123
title,
124
slug: title.toLowerCase().replace(/\s+/g, '-'),
125
- difficulty: 'Medium',
+ difficulty: 'Medium' as const,
126
url: '',
127
description: problem,
128
constraints: [],
@@ -343,4 +343,4 @@ export function SolverWidget({ onSolved }: SolverWidgetProps) {
343
</div>
344
345
);
346
-}
+}
0 commit comments