mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
refactor: Fix anchor-is-valid lint warnings (#12010)
* Fix anchor-is-valid lint warnings * Change IconTooltip to use named exports
This commit is contained in:
committed by
GitHub
parent
e2f676445b
commit
8682c6fc1c
@@ -790,12 +790,12 @@ class DatasourceEditor extends React.PureComponent {
|
||||
</Fieldset>
|
||||
{this.allowEditSource && (
|
||||
<EditLockContainer>
|
||||
<a href="#" onClick={this.onChangeEditMode}>
|
||||
<span role="button" tabIndex={0} onClick={this.onChangeEditMode}>
|
||||
<Icon
|
||||
color={supersetTheme.colors.grayscale.base}
|
||||
name={this.state.isEditMode ? 'lock-unlocked' : 'lock-locked'}
|
||||
/>
|
||||
</a>
|
||||
</span>
|
||||
{!this.state.isEditMode && (
|
||||
<div>{t('Click the lock to make changes.')}</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user