Skip to content

Commit

Permalink
Fix [object Object] in feedback metadata (#10390)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Mar 15, 2023
1 parent 1e651bf commit a4262cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface IProps {
title: string;
subheading: string;
rageshakeLabel: string;
rageshakeData?: Record<string, string>;
rageshakeData?: Record<string, any>;
children?: ReactNode;
onFinished(sendFeedback?: boolean): void;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/spaces/SpaceCreateMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const SpaceFeedbackPrompt: React.FC<{
rageshakeData: Object.fromEntries(
["Spaces.allRoomsInHome", "Spaces.enabledMetaSpaces"].map((k) => [
k,
String(SettingsStore.getValue(k)),
SettingsStore.getValue(k),
]),
),
});
Expand Down
2 changes: 1 addition & 1 deletion src/rageshake/submit-rageshake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export async function submitFeedback(
label: string,
comment: string,
canContact = false,
extraData: Record<string, string> = {},
extraData: Record<string, any> = {},
): Promise<void> {
let version: string | undefined;
try {
Expand Down

0 comments on commit a4262cd

Please sign in to comment.