Upgrading ESLint and adding some more rules. Refactoring to meet these new rules
Этот коммит содержится в:
@@ -73,7 +73,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
|
||||
React.render(
|
||||
<Sidebar
|
||||
teamDisplayName={teamName}
|
||||
teamType={teamType} />,
|
||||
teamType={teamType}
|
||||
/>,
|
||||
document.getElementById('sidebar-left')
|
||||
);
|
||||
|
||||
@@ -190,7 +191,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
|
||||
React.render(
|
||||
<SidebarRightMenu
|
||||
teamDisplayName={teamName}
|
||||
teamType={teamType} />,
|
||||
teamType={teamType}
|
||||
/>,
|
||||
document.getElementById('sidebar-menu')
|
||||
);
|
||||
|
||||
@@ -226,7 +228,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
|
||||
|
||||
React.render(
|
||||
<FileUploadOverlay
|
||||
overlayType='center' />,
|
||||
overlayType='center'
|
||||
/>,
|
||||
document.getElementById('file_upload_overlay')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,8 @@ function setupLoginPage(teamDisplayName, teamName, authServices) {
|
||||
<Login
|
||||
teamDisplayName={teamDisplayName}
|
||||
teamName={teamName}
|
||||
authServices={authServices} />,
|
||||
authServices={authServices}
|
||||
/>,
|
||||
document.getElementById('login')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,8 @@ function setupSignupTeamCompletePage(email, data, hash) {
|
||||
<SignupTeamComplete
|
||||
email={email}
|
||||
hash={hash}
|
||||
data={data}/>,
|
||||
data={data}
|
||||
/>,
|
||||
document.getElementById('signup-team-complete')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@ function setupSignupUserCompletePage(email, name, uiName, id, data, hash, authSe
|
||||
email={email}
|
||||
hash={hash}
|
||||
data={data}
|
||||
authServices={authServices} />,
|
||||
authServices={authServices}
|
||||
/>,
|
||||
document.getElementById('signup-user-complete')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,8 @@ global.window.setupVerifyPage = function setupVerifyPage(isVerified, teamURL, us
|
||||
<EmailVerify
|
||||
isVerified={isVerified}
|
||||
teamURL={teamURL}
|
||||
userEmail={userEmail} />,
|
||||
userEmail={userEmail}
|
||||
/>,
|
||||
document.getElementById('verify')
|
||||
);
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user