diff --git a/src/room/FeedbackModal.tsx b/src/room/FeedbackModal.tsx index ccf991e..7b452d8 100644 --- a/src/room/FeedbackModal.tsx +++ b/src/room/FeedbackModal.tsx @@ -43,9 +43,7 @@ export function FeedbackModal({ inCall, roomId, onClose, ...rest }: Props) { const descriptionData = data.get("description"); const description = typeof descriptionData === "string" ? descriptionData : ""; - const sendLogsData = data.get("sendLogs"); - const sendLogs = - typeof sendLogsData === "string" ? sendLogsData === "true" : false; + const sendLogs = Boolean(data.get("sendLogs")); const rageshakeRequestId = randomString(16); submitRageshake({