refactor(hooks): move show-status-toast.tsx from lib to hooks

This commit is contained in:
2025-04-11 09:47:31 +08:00
parent 93b5a68426
commit dc939085bb
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -11,8 +11,8 @@ import { useState } from "react";
import { judge } from "@/actions/judge";
import { Button } from "@/components/ui/button";
import { useProblem } from "@/hooks/use-problem";
import { showStatusToast } from "@/lib/show-status-toast";
import { LoaderCircleIcon, PlayIcon } from "lucide-react";
import { showStatusToast } from "@/hooks/show-status-toast";
interface RunCodeProps {
className?: string;