diff --git a/website/src/App.tsx b/website/src/App.tsx index 94025eb..68594c7 100644 --- a/website/src/App.tsx +++ b/website/src/App.tsx @@ -439,6 +439,13 @@ class App extends Component { 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 { )} - {/*
New words this month
- */} +