Fix the Feedback modal not being closable

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-08-14 10:42:57 +02:00
parent a4d982ea62
commit 719156aadf
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2

View file

@ -69,7 +69,7 @@ export function FeedbackModal({ inCall, roomId, onClose, ...rest }: Props) {
}, [sent, onClose]); }, [sent, onClose]);
return ( return (
<Modal title="Submit Feedback" isDismissable {...rest}> <Modal title="Submit Feedback" isDismissable onClose={onClose} {...rest}>
<ModalContent> <ModalContent>
<Body>Having trouble? Help us fix it.</Body> <Body>Having trouble? Help us fix it.</Body>
<form onSubmit={onSubmitFeedback}> <form onSubmit={onSubmitFeedback}>