import { useLocation } from "react-router-dom"; import { CreateNewTaskForm } from "./CreateNewTaskForm"; import { MagicWandIcon } from "@radix-ui/react-icons"; function CreateNewTaskFromPrompt() { const location = useLocation(); const state = location.state.data; return (

Create New Task

Prompt: {state.user_prompt}

Below are the parameters we generated automatically. You can go ahead and create the task if everything looks correct.

); } export { CreateNewTaskFromPrompt };