better seo
This commit is contained in:
parent
105241db9b
commit
46634a69ba
|
@ -439,6 +439,13 @@ class App extends Component<RouteComponentProps, State> {
|
||||||
action.type === "toggleSearchType"
|
action.type === "toggleSearchType"
|
||||||
) {
|
) {
|
||||||
if (this.props.location.pathname !== "/new-entries") {
|
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) => ({
|
this.setState((prevState) => ({
|
||||||
options,
|
options,
|
||||||
page: 1,
|
page: 1,
|
||||||
|
@ -636,12 +643,12 @@ class App extends Component<RouteComponentProps, State> {
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{/* <Link
|
<Link
|
||||||
to="/new-entries"
|
to="/new-entries"
|
||||||
className="plain-link font-weight-light"
|
className="plain-link font-weight-light"
|
||||||
>
|
>
|
||||||
<div className="my-4">New words this month</div>
|
<div className="my-4">New words this month</div>
|
||||||
</Link> */}
|
</Link>
|
||||||
<div className="my-4 pt-3">
|
<div className="my-4 pt-3">
|
||||||
<Link
|
<Link
|
||||||
to="/phrase-builder"
|
to="/phrase-builder"
|
||||||
|
|
Loading…
Reference in New Issue