diff --git a/src/components/feedback-dialog/feedback-dialog.tsx b/src/components/feedback-dialog/feedback-dialog.tsx
index b3cb9df..ea45b39 100644
--- a/src/components/feedback-dialog/feedback-dialog.tsx
+++ b/src/components/feedback-dialog/feedback-dialog.tsx
@@ -1,4 +1,6 @@
import {
+ Alert,
+ AlertTitle,
Button,
Dialog,
DialogActions,
@@ -9,7 +11,7 @@ import {
Tooltip,
Typography,
} from '@mui/material'
-import { useState } from 'react'
+import { FormEvent, useState } from 'react'
import {
HowToVote as HowToVoteIcon,
Send as SendIcon,
@@ -18,8 +20,15 @@ import { captureFeedback, captureMessage } from '@sentry/react'
export function FeedbackDialog() {
const [open, setOpen] = useState(false)
+ const [isSubmitted, setIsSubmitted] = useState(false)
const [errorMessage, setErrorMessage] = useState('')
+ function handleClose() {
+ setOpen(false)
+ setIsSubmitted(false)
+ setErrorMessage('')
+ }
+
return (
<>
@@ -28,102 +37,140 @@ export function FeedbackDialog() {
-