Browse Source

Correct type

pull/13325/head
ztplz 6 years ago
committed by 偏右
parent
commit
8b70fe7664
  1. 2
      components/mention/index.tsx

2
components/mention/index.tsx

@ -78,7 +78,7 @@ export default class Mention extends React.Component<MentionProps, MentionState>
}
}
defaultSearchChange(value: String): void {
defaultSearchChange(value: string): void {
const searchValue = value.toLowerCase();
const filteredSuggestions = (this.props.suggestions || []).filter(
suggestion => {

Loading…
Cancel
Save