Skip to content

Commit

Permalink
remove default values
Browse files Browse the repository at this point in the history
  • Loading branch information
nachat-ayoub committed Feb 21, 2024
1 parent 831a097 commit 74d1430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import axios from 'axios';
type TStatus = 'success' | 'error' | null;

export default function App() {
const [email, setEmail] = useState('ayoub@gmail.com');
const [message, setMessage] = useState('hah');
const [email, setEmail] = useState('');
const [message, setMessage] = useState('');
const [sendStatus, setSendStatus] = useState<TStatus>(null);
const [error, setError] = useState<null | string>(null);
const { sendEmail } = useForm();
Expand Down

0 comments on commit 74d1430

Please sign in to comment.