mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix eslint warnings
This commit is contained in:
parent
595149706a
commit
852decd677
2 changed files with 4 additions and 4 deletions
|
@ -85,8 +85,8 @@ class EditableHeader extends React.Component {
|
|||
<FormControl type='text' bsSize='large' value={this.state.title} onChange={this.onChange} style={editStyle} autoFocus />
|
||||
</form>
|
||||
|
||||
<a onClick={this.save}><Icon icon='check' style={iconStyle} /></a>
|
||||
<a onClick={this.cancel}><Icon icon='times' style={iconStyle} /></a>
|
||||
<a href={'#'} onClick={this.save}><Icon icon='check' style={iconStyle} /></a>
|
||||
<a href={'#'} onClick={this.cancel}><Icon icon='times' style={iconStyle} /></a>
|
||||
</div>;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ class EditableHeader extends React.Component {
|
|||
{this.state.title}
|
||||
</h1>
|
||||
|
||||
<a onClick={this.edit}><Icon icon='edit' style={iconStyle} /></a>
|
||||
<a href={'#'} onClick={this.edit}><Icon icon='edit' style={iconStyle} /></a>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ class CustomTable extends Component {
|
|||
if (linkKey && data[linkKey] != null) {
|
||||
cell.push(<Link to={child.props.link + data[linkKey]}>{content}</Link>);
|
||||
} else if (child.props.clickable) {
|
||||
cell.push(<a onClick={() => child.props.onClick(index)}>{content}</a>);
|
||||
cell.push(<a href={#} onClick={() => child.props.onClick(index)}>{content}</a>);
|
||||
} else {
|
||||
cell.push(content);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue