Skip to content

Commit

Permalink
type corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Nov 20, 2023
1 parent 0c21f85 commit ea3409b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/manager/components/deployment/CustomConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class CustomConfig extends Component<{
}, {[string]: any}> {
state = {}

getName = (option: string) => {
getName = (option?: string) => {
let {name} = this.props
if (option === CONFIG_OPTIONS.url) {
name += 'Url'
Expand Down Expand Up @@ -80,7 +80,7 @@ export default class CustomConfig extends Component<{
this.setState({[name]: evt.target.value})
}

_onSaveConfig = (option) => {
_onSaveConfig = (option?: string) => {
const {deployment, updateDeployment} = this.props
const name = this.getName(option)

Expand Down

0 comments on commit ea3409b

Please sign in to comment.