Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiWu committed Mar 31, 2022
1 parent 7d06b67 commit 61782ed
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ export const RefineSearchPrompt = (props: RefineSearchFooterProps) => {
[euiTheme]
);

const documentSizeValues = useMemo(
() => ({
documentSize,
}),
[documentSize]
);

if (documentSize < visibleDocumentSize) {
return null;
}
Expand All @@ -51,7 +44,7 @@ export const RefineSearchPrompt = (props: RefineSearchFooterProps) => {
<FormattedMessage
id="xpack.triggersActionsUI.sections.ruleDetails.refineSearchPrompt.prompt"
defaultMessage="These are the first {documentSize} matching your search, refine your search to see others."
values={documentSizeValues}
values={{ documentSize }}
/>
&nbsp;
<EuiLink href={`#${backToTopAnchor}`}>
Expand Down

0 comments on commit 61782ed

Please sign in to comment.