mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
refactor(hooks): move show-status-toast.tsx from lib to hooks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user