mirror of
https://github.com/apache/superset.git
synced 2026-04-25 19:14:27 +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
@@ -21,7 +21,7 @@ import SyntaxHighlighter from 'react-syntax-highlighter/dist/cjs/light';
|
||||
import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql';
|
||||
import github from 'react-syntax-highlighter/dist/cjs/styles/hljs/github';
|
||||
|
||||
import Link from '../../components/Link';
|
||||
import { IconTooltip } from '../../components/IconTooltip';
|
||||
import ModalTrigger from '../../components/ModalTrigger';
|
||||
|
||||
SyntaxHighlighter.registerLanguage('sql', sql);
|
||||
@@ -41,10 +41,9 @@ export default function ShowSQL({
|
||||
<ModalTrigger
|
||||
modalTitle={title}
|
||||
triggerNode={
|
||||
<Link
|
||||
<IconTooltip
|
||||
className="fa fa-eye pull-left m-l-2"
|
||||
tooltip={tooltipText}
|
||||
href="#"
|
||||
/>
|
||||
}
|
||||
modalBody={
|
||||
|
||||
Reference in New Issue
Block a user