Added refactoring to pass style check
Этот коммит содержится в:
@@ -273,15 +273,16 @@ export default class UserSettingsGeneralTab extends React.Component {
|
|||||||
this.props.updateTab('notifications');
|
this.props.updateTab('notifications');
|
||||||
}
|
}
|
||||||
|
|
||||||
let notifLink = (
|
const notifLink = (
|
||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
onClick={notifClick.bind(this)} >
|
onClick={notifClick.bind(this)}
|
||||||
|
>
|
||||||
Notifications
|
Notifications
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
|
||||||
let extraInfo = (
|
const extraInfo = (
|
||||||
<span>
|
<span>
|
||||||
By default, you will receive mention notifications when someone types your first name.
|
By default, you will receive mention notifications when someone types your first name.
|
||||||
Go to {notifLink} settings to change this default.
|
Go to {notifLink} settings to change this default.
|
||||||
@@ -348,7 +349,7 @@ export default class UserSettingsGeneralTab extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
let extraInfo = (
|
const extraInfo = (
|
||||||
<span>
|
<span>
|
||||||
Use Nickname for a name you might be called that is different from your first name and user name.
|
Use Nickname for a name you might be called that is different from your first name and user name.
|
||||||
This is most often used when two or more people have similar sounding names and usernames.
|
This is most often used when two or more people have similar sounding names and usernames.
|
||||||
@@ -405,7 +406,7 @@ export default class UserSettingsGeneralTab extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
let extraInfo = (<span>Pick something easy for teammates to recognize and recall.</span>);
|
const extraInfo = (<span>Pick something easy for teammates to recognize and recall.</span>);
|
||||||
|
|
||||||
usernameSection = (
|
usernameSection = (
|
||||||
<SettingItemMax
|
<SettingItemMax
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user