This commit is contained in:
2026-02-02 23:13:09 +01:00
parent d0b4a53f80
commit 0951ad4799
3 changed files with 237 additions and 236 deletions
+2 -4
View File
@@ -9,7 +9,7 @@ import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
const Problems = () => {
export default function Problems() {
const [viewMode, setViewMode] = useState<"grid" | "list">("grid");
const categories = ["All", "Arrays", "Trees", "Graphs", "DP", "Strings"];
@@ -90,9 +90,7 @@ const Problems = () => {
</div>
</div>
);
};
export default Problems;
}
/* ---------------- data ---------------- */