import { Send } from 'lucide-react'; import { useEffect, useState } from 'react'; import { Button, Form } from 'react-bootstrap'; import '@/styles/CreatorDiscovery.scss'; import DiscoveryList from '../components/DiscoveryList'; import { useDispatch } from 'react-redux'; import { fetchDiscovery } from '../store/slices/discoverySlice'; export default function CreatorDiscovery() { const [search, setSearch] = useState(''); const dispatch = useDispatch(); useEffect(() => {}, [dispatch]); const handleSubmit = (e) => { e.preventDefault(); console.log('Form submitted'); dispatch(fetchDiscovery(search)); }; return (