Open platform to collect and prioritize feedback
update to latest npm and fix lint
goenning217af4daf891
diff --git a/package.json b/package.jsonindex 144347b0d..0b1026f68 100644--- a/package.json+++ b/package.json@@ -17,7 +17,7 @@"moment": "^2.18.1","react": "^15.4.2","react-dom": "^15.4.2",- "semantic-ui-css": "^2.2.9"+ "semantic-ui-css": "^2.2.10"},"devDependencies": {"@types/jquery": "^2.0.41",@@ -25,13 +25,13 @@"@types/react": "^15.0.20","@types/react-dom": "^0.14.23","clean-webpack-plugin": "^0.1.16",- "css-loader": "^0.27.3",+ "css-loader": "^0.28.0","file-loader": "^0.10.1","rimraf": "^2.6.1",- "style-loader": "^0.16.0",+ "style-loader": "^0.16.1","ts-loader": "^2.0.3",- "tslint": "^4.5.1",- "typescript": "^2.2.1",+ "tslint": "^5.0.0",+ "typescript": "^2.2.2","webpack": "^2.3.2"},"engines": {diff --git a/public/components/root.tsx b/public/components/root.tsxindex bfd991b62..cfa12de11 100644--- a/public/components/root.tsx+++ b/public/components/root.tsx@@ -32,7 +32,7 @@ export class Root extends React.Component<{}, {}> {<h3>Top Ideas</h3><div className="ui divided items">{ ideasList }- </div>+ </div></div>: <p>No ideas have been shared yet.</p>;diff --git a/public/components/social_signin_button.tsx b/public/components/social_signin_button.tsxindex ee04dcff7..c9f4bc0be 100644--- a/public/components/social_signin_button.tsx+++ b/public/components/social_signin_button.tsx@@ -22,9 +22,9 @@ export class SocialSignInButton extends React.Component<SocialSignInButtonProps,const providerClassName = this.props.provider === "google" ? "google plus" : "facebook";const providerDisplayName = this.props.provider === "google" ? "Google" : "Facebook";const oauthUrl = `${authEndpoint}/oauth/${this.props.provider}?redirect=${location.href}`;- const cssClasses = `ui button- ${providerClassName}- ${this.state.clicked ? "loading disabled" : ""}+ const cssClasses = `ui button+ ${providerClassName}+ ${this.state.clicked ? "loading disabled" : ""}${this.props.small ? "circular icon" : "fluid"}`;if (this.props.small) {@@ -34,7 +34,7 @@ export class SocialSignInButton extends React.Component<SocialSignInButtonProps,} else {return <a href={oauthUrl} className={cssClasses} onClick={() => this.setState({clicked: true})}><i className={providerClassName + " icon"}></i>- Sign in with { providerDisplayName }+ Sign in with { providerDisplayName }</a>;}}