Skip to content

Commit

Permalink
chore(*): prevent warning from react 16.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Aug 12, 2019
1 parent 4a91abe commit ba9a6ee
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/balloon/inner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class BalloonInner extends React.Component {
role="button"
aria-label={locale.close}
tabIndex="0"
href="javascript:void(0);"
className={`${_prefix}-close`}
onClick={onClose}
>
Expand Down
1 change: 0 additions & 1 deletion src/dialog/inner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export default class Inner extends Component {
<a
role="button"
aria-label={locale.close}
href="javascript:;"
className={`${prefix}dialog-close`}
onClick={onClose}
>
Expand Down
1 change: 0 additions & 1 deletion src/message/message.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ class Message extends Component {
<a
role="button"
aria-label={locale.closeAriaLabel}
href="javascript:;"
className={`${messagePrefix}-close`}
onClick={this.onClose}
>
Expand Down
1 change: 0 additions & 1 deletion src/table/base/sort.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default class Sort extends React.Component {
const icons = ['asc', 'desc'].map(sortOrder => {
return (
<a
href="javascript:;"
key={sortOrder}
className={sortStatus === sortOrder ? 'current' : ''}
>
Expand Down

0 comments on commit ba9a6ee

Please sign in to comment.