You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
delint
This commit is contained in:
@@ -395,11 +395,14 @@ const SpaceLanding = ({ space }) => {
|
|||||||
return <div className="mx_SpaceRoomView_landing">
|
return <div className="mx_SpaceRoomView_landing">
|
||||||
<div className="mx_SpaceFeedbackPrompt_topRight">
|
<div className="mx_SpaceFeedbackPrompt_topRight">
|
||||||
{ _t("Spaces are a new feature.") }
|
{ _t("Spaces are a new feature.") }
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton
|
||||||
Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
|
kind="link"
|
||||||
featureId: "feature_spaces",
|
onClick={() => {
|
||||||
});
|
Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
|
||||||
}}>
|
featureId: "feature_spaces",
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
{ _t("Give feedback.") }
|
{ _t("Give feedback.") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -43,13 +43,16 @@ const BetaFeedbackDialog: React.FC<IProps> = ({ featureId, onFinished }) => {
|
|||||||
return SettingsStore.getValue(k);
|
return SettingsStore.getValue(k);
|
||||||
}))}
|
}))}
|
||||||
>
|
>
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton
|
||||||
onFinished(false);
|
kind="link"
|
||||||
defaultDispatcher.dispatch({
|
onClick={() => {
|
||||||
action: Action.ViewUserSettings,
|
onFinished(false);
|
||||||
initialTabId: UserTab.Labs,
|
defaultDispatcher.dispatch({
|
||||||
});
|
action: Action.ViewUserSettings,
|
||||||
}}>
|
initialTabId: UserTab.Labs,
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
{ _t("To leave the beta, visit your settings.") }
|
{ _t("To leave the beta, visit your settings.") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</GenericFeatureFeedbackDialog>;
|
</GenericFeatureFeedbackDialog>;
|
||||||
|
|||||||
Reference in New Issue
Block a user