diff --git a/components/Editor.js b/components/Editor.js index 1553370..02f101f 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -16,7 +16,6 @@ import Carbon from './Carbon' import ExportMenu from './ExportMenu' import Themes from './Themes' import TweetButton from './TweetButton' -import LoginButton from './LoginButton' import FontFace from './FontFace' import LanguageIcon from './svg/Language' import { @@ -355,7 +354,6 @@ class Editor extends React.Component { return (
- +
+ + +
@@ -66,11 +65,7 @@ function LoginButton({ isVisible, toggleVisibility }) { className="profile-button" onClick={() => { if (!user) { - const provider = new firebase.auth.GithubAuthProvider() - provider.setCustomParameters({ - allow_signup: 'true' - }) - login(provider) + loginGitHub() } else { toggleVisibility() }