Skip to content

Commit e825fca

Browse files
authored
Fixes to comments on changes
1 parent 28ee748 commit e825fca

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

src/js/pages/Intro/Intro.jsx

-15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Check } from '@mui/icons-material';
2-
import PropTypes from 'prop-types';
32
import React, { Component } from 'react';
43
import Helmet from 'react-helmet';
54
import { renderLog } from '../../common/utils/logging';
@@ -88,13 +87,7 @@ export default class Intro extends Component {
8887
This is our best guess - feel free to change.
8988
</span>
9089
<AddressBox
91-
externalUniqueId={this.props.externalUniqueId}
92-
returnNewTextForMapSearch={this.props.returnNewTextForMapSearch}
9390
saveUrl="/ballot"
94-
showCancelEditAddressButton={this.props.showCancelEditAddressButton}
95-
toggleEditingAddress={this.props.toggleEditingAddress}
96-
toggleSelectAddressModal={this.props.toggleSelectAddressModal}
97-
waitingMessage={this.props.waitingMessage}
9891
/>
9992
<br />
10093
<ul className="list-group">
@@ -136,11 +129,3 @@ export default class Intro extends Component {
136129
);
137130
}
138131
}
139-
Intro.propTypes = {
140-
externalUniqueId: PropTypes.string,
141-
returnNewTextForMapSearch: PropTypes.func,
142-
showCancelEditAddressButton: PropTypes.bool,
143-
toggleEditingAddress: PropTypes.func,
144-
toggleSelectAddressModal: PropTypes.func,
145-
waitingMessage: PropTypes.string,
146-
};

src/js/pages/TwitterHandleLanding.jsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ export default class TwitterHandleLanding extends Component {
181181
// Is this supposed to be this.props.param.candidate_we_vote_id
182182
params.candidate_we_vote_id = ownerWeVoteId;
183183
return (
184-
<Candidate candidate_we_vote_id
184+
<Candidate
185+
candidate_we_vote_id
185186
match={this.props.match}
186187
/>
187188
);
@@ -202,8 +203,8 @@ export default class TwitterHandleLanding extends Component {
202203
// console.log('TwitterHandleLanding TWITTER_HANDLE_NOT_FOUND_IN_WE_VOTE calling UnknownTwitterAccount');
203204
return (
204205
<UnknownTwitterAccount
205-
twiterHandle={this.state.twitterHandle}
206-
twitterName={this.state.twitterName}
206+
twiterHandle={this.state.twitterHandle}
207+
twitterName={this.state.twitterName}
207208
/>
208209
);
209210
} else {

0 commit comments

Comments
 (0)