Add room_id and display_name to rageshakes

This commit is contained in:
Robert Long
2022-02-23 15:52:53 -08:00
parent 641b82dc45
commit 3b017eb92b
5 changed files with 14 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import { FieldRow, ErrorMessage } from "../input/Input";
import { useSubmitRageshake } from "../settings/rageshake";
import { Body } from "../typography/Typography";
export function RageshakeRequestModal({ rageshakeRequestId, ...rest }) {
export function RageshakeRequestModal({ rageshakeRequestId, roomId, ...rest }) {
const { submitRageshake, sending, sent, error } = useSubmitRageshake();
useEffect(() => {
@@ -27,6 +27,7 @@ export function RageshakeRequestModal({ rageshakeRequestId, ...rest }) {
submitRageshake({
sendLogs: true,
rageshakeRequestId,
roomId,
})
}
disabled={sending}