diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx
index 4e278b49e0..7a1d501767 100644
--- a/src/components/structures/SpaceRoomView.tsx
+++ b/src/components/structures/SpaceRoomView.tsx
@@ -395,11 +395,14 @@ const SpaceLanding = ({ space }) => {
return
{ _t("Spaces are a new feature.") }
-
{
- Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
- featureId: "feature_spaces",
- });
- }}>
+ {
+ Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
+ featureId: "feature_spaces",
+ });
+ }}
+ >
{ _t("Give feedback.") }
diff --git a/src/components/views/dialogs/BetaFeedbackDialog.tsx b/src/components/views/dialogs/BetaFeedbackDialog.tsx
index 98b228082a..d4fa618464 100644
--- a/src/components/views/dialogs/BetaFeedbackDialog.tsx
+++ b/src/components/views/dialogs/BetaFeedbackDialog.tsx
@@ -43,13 +43,16 @@ const BetaFeedbackDialog: React.FC
= ({ featureId, onFinished }) => {
return SettingsStore.getValue(k);
}))}
>
- {
- onFinished(false);
- defaultDispatcher.dispatch({
- action: Action.ViewUserSettings,
- initialTabId: UserTab.Labs,
- });
- }}>
+ {
+ onFinished(false);
+ defaultDispatcher.dispatch({
+ action: Action.ViewUserSettings,
+ initialTabId: UserTab.Labs,
+ });
+ }}
+ >
{ _t("To leave the beta, visit your settings.") }
;