better seo

This commit is contained in:
adueck 2023-12-18 15:19:43 +04:00
parent 105241db9b
commit 46634a69ba
1 changed files with 9 additions and 2 deletions

View File

@ -439,6 +439,13 @@ class App extends Component<RouteComponentProps, State> {
action.type === "toggleSearchType"
) {
if (this.props.location.pathname !== "/new-entries") {
if (
action.type === "toggleSearchType" &&
this.state.options.searchType === "fuzzy" &&
this.props.location.pathname !== "/search"
) {
this.handleSearchValueChange("آ");
}
this.setState((prevState) => ({
options,
page: 1,
@ -636,12 +643,12 @@ class App extends Component<RouteComponentProps, State> {
</Link>
</div>
)}
{/* <Link
<Link
to="/new-entries"
className="plain-link font-weight-light"
>
<div className="my-4">New words this month</div>
</Link> */}
</Link>
<div className="my-4 pt-3">
<Link
to="/phrase-builder"