Skip to content

Commit

Permalink
Revert "Update SignIn and Header components"
Browse files Browse the repository at this point in the history
This reverts commit fdd3432.
  • Loading branch information
lavishaGit committed Oct 28, 2024
1 parent 8bafda3 commit 55a547e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/js/common/components/SignIn/SignInOptionsPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,6 @@ export default class SignInOptionsPanel extends Component {
</span>
)}
</div>



<div className="u-stack--md" style={isAndroid() ? { paddingBottom: '10px', paddingTop: '10px' } : {}}>
{ !hideFacebookSignInButton && !voterIsSignedInFacebook && isOnFacebookSupportedDomainUrl && webAppConfig.ENABLE_FACEBOOK && (
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,6 @@ class CompleteYourProfile2024 extends Component {
{(showSignInModal && !VoterStore.getVoterIsSignedIn()) && (
<Suspense fallback={<></>}>
<SignInModal
id="SignInOrJoin"

signInTitle="Sign in or join to save your ballot choices/settings"
signInSubTitle=""
toggleOnClose={this.toggleShowSignInModal}
Expand Down
2 changes: 0 additions & 2 deletions src/js/components/Navigation/HeaderBackTo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ class HeaderBackTo extends Component {
{showSignInModal && (
<Suspense fallback={<></>}>
<SignInModal
id="SignInOrJoin"

signInTitle="Sign In or Join"
signInSubTitle=""
toggleOnClose={this.closeSignInModal}
Expand Down
1 change: 0 additions & 1 deletion src/js/components/Navigation/HeaderBackToVoterGuides.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ class HeaderBackToVoterGuides extends Component {
{showSignInModal && (
<Suspense fallback={<></>}>
<SignInModal

signInTitle="Sign In or Join"
signInSubTitle=""
toggleOnClose={this.closeSignInModal}
Expand Down
1 change: 0 additions & 1 deletion src/js/components/Navigation/HeaderBarModals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ class HeaderBarModals extends Component {
signInModalHtml = (
<Suspense fallback={<></>}>
<SignInModal
id="SignInOrJoin"
signInTitle="Sign In or Join"
signInSubTitle=""
toggleOnClose={this.closeSignInModal}
Expand Down
1 change: 0 additions & 1 deletion src/js/components/Widgets/SignInButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default function SignInButton (props) {

return (
<StyledButton
id="SignIn"
className="header-sign-in"
color="primary"
onClick={props.toggleSignInModal}
Expand Down

0 comments on commit 55a547e

Please sign in to comment.