Skip to content

Commit

Permalink
Correct host url
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Feb 15, 2025
1 parent fec3128 commit 750efe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Suggestions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { openModal as cognateAnalysisOpenModal } from "ducks/cognateAnalysis";
import { matchPath } from "react-router-dom";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import TopSectionSelector from "pages/TopSectionSelector";

function getSugg(location) {
const match = matchPath(
Expand All @@ -18,7 +19,7 @@ function getSugg(location) {
const ViewSuggestions = ({ actions }) => {
const location = useLocation();
actions.cognateAnalysisOpenModal(null, "view_suggestions", getSugg(location) || null);
return null;
return <TopSectionSelector />;
};

export default connect(
Expand Down

0 comments on commit 750efe1

Please sign in to comment.