Skip to content

Commit cee9f59

Browse files
authored
fix: prevent <a> tag to be crawled (#288)
* fix: prevent <a> tag to be crawled * fix: code style
1 parent 99af105 commit cee9f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pager.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Pager = props => {
2626
onKeyPress={handleKeyPress}
2727
tabIndex="0"
2828
>
29-
{props.itemRender(props.page, 'page', <a>{props.page}</a>)}
29+
{props.itemRender(props.page, 'page', <a rel="nofollow">{props.page}</a>)}
3030
</li>
3131
);
3232
};

0 commit comments

Comments
 (0)