Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a4262cd

Browse files
authored
Fix [object Object] in feedback metadata (#10390)
1 parent 1e651bf commit a4262cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/views/dialogs/GenericFeatureFeedbackDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface IProps {
2929
title: string;
3030
subheading: string;
3131
rageshakeLabel: string;
32-
rageshakeData?: Record<string, string>;
32+
rageshakeData?: Record<string, any>;
3333
children?: ReactNode;
3434
onFinished(sendFeedback?: boolean): void;
3535
}

src/components/views/spaces/SpaceCreateMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export const SpaceFeedbackPrompt: React.FC<{
140140
rageshakeData: Object.fromEntries(
141141
["Spaces.allRoomsInHome", "Spaces.enabledMetaSpaces"].map((k) => [
142142
k,
143-
String(SettingsStore.getValue(k)),
143+
SettingsStore.getValue(k),
144144
]),
145145
),
146146
});

src/rageshake/submit-rageshake.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export async function submitFeedback(
288288
label: string,
289289
comment: string,
290290
canContact = false,
291-
extraData: Record<string, string> = {},
291+
extraData: Record<string, any> = {},
292292
): Promise<void> {
293293
let version: string | undefined;
294294
try {

0 commit comments

Comments
 (0)