Appease the linter.
parent
2f6d856c08
commit
73fcde0aba
|
@ -44,7 +44,7 @@ class AdminPage extends Component {
|
|||
|
||||
handleClickCreate(type) {
|
||||
if (this.props.isEditing) {
|
||||
this.props.addFlashMessage({type: 'error', text: `You can only add one ${type.slice(0,-1)} at a time`})
|
||||
this.props.addFlashMessage({type: 'error', text: `You can only add one ${type.slice(0, -1)} at a time`})
|
||||
return
|
||||
}
|
||||
if (type === 'users') {
|
||||
|
|
Loading…
Reference in New Issue