import React, { useState } from "react"; import { useNavigate } from "react-router-dom"; import { preview } from "../assets"; import { getRandomPrompt } from "../utils"; import { FormField, Loader } from "../components"; const CreatePost = () => { const navigate = useNavigate(); const [form, setForm] = useState({ name: "", prompt: "", photo: "", }); const [generatingImg, setGeneratingImg] = useState(false); const [loading, setLoading] = useState(false); const handleSubmit = () => {}; const handleChange = (e) => {}; const handleSurpriseMe = () => {}; return (

Create

Create imaginative and visually stunning images through DALL-E AI and share them with the community

); }; export default CreatePost;