Skip to content

Commit

Permalink
Merge pull request #2498 from StateVoicesNational/mz/clean-up
Browse files Browse the repository at this point in the history
#2498 Remove unused variables causing /phone-numbers blank screen error for Admins
  • Loading branch information
engelhartrueben authored Oct 21, 2024
2 parents d8972f3 + a4cf989 commit 673c07b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/containers/AdminPhoneNumberInventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const inlineStyles = {
cancelButton: {
marginTop: 15,
marginRight: 5
},
deleteButton: {
marginTop: 15
}
};

Expand Down Expand Up @@ -263,9 +266,6 @@ class AdminPhoneNumberInventory extends React.Component {
}

renderBuyNumbersForm() {
const service = this.props.data.organization.serviceVendor;
const serviceName = service.name;
const serviceConfig = service.config || "{}";
return (
<GSForm
schema={this.buyNumbersFormSchema()}
Expand Down Expand Up @@ -420,8 +420,8 @@ class AdminPhoneNumberInventory extends React.Component {
</Button>
<Button
variant="contained"
color="secondary"
variant="outlined"
color="primary"
style={inlineStyles.deleteButton}
onClick={this.handleDeletePhoneNumbersSubmit}
>
Delete {this.state.deleteNumbersCount} Numbers
Expand Down

0 comments on commit 673c07b

Please sign in to comment.