diff --git a/src/redesign/components/About.jsx b/src/redesign/components/About.jsx index d87e3a291..463812a55 100644 --- a/src/redesign/components/About.jsx +++ b/src/redesign/components/About.jsx @@ -22,7 +22,7 @@ export default function About() { -
+

Advisory board

diff --git a/src/redesign/components/Research.jsx b/src/redesign/components/Research.jsx index df0a635b3..f97e69524 100644 --- a/src/redesign/components/Research.jsx +++ b/src/redesign/components/Research.jsx @@ -58,22 +58,22 @@ function ResearchExplorer() { searchParams.get("topics")?.split(",") || topicTags, ); useEffect(() => { - searchParams.set("topics", filteredTopics.join(', ')); - setSearchParams(searchParams) + searchParams.set("topics", filteredTopics.join(", ")); + setSearchParams(searchParams); }, [filteredTopics]); const [filteredLocations, setFilteredLocations] = useState( searchParams.get("locations")?.split(",") || locationTags, ); useEffect(() => { - searchParams.set("locations", filteredLocations.join(', ')); - setSearchParams(searchParams) + searchParams.set("locations", filteredLocations.join(", ")); + setSearchParams(searchParams); }, [filteredLocations]); const [filteredAuthors, setFilteredAuthors] = useState( searchParams.get("authors")?.split(",") || authorKeys, ); useEffect(() => { - searchParams.set("authors", filteredAuthors.join(', ')); - setSearchParams(searchParams) + searchParams.set("authors", filteredAuthors.join(", ")); + setSearchParams(searchParams); }, [filteredAuthors]); const filterFunction = (post) => { let hasMetAtLeastOneFilteredTopic = false; @@ -108,10 +108,10 @@ function ResearchExplorer() { const searchField = searchParams.get("search"); const filteredPosts = searchField ? fuse - .search(searchField, { - distance: 10, - }) - .map((result) => result.item) + .search(searchField, { + distance: 10, + }) + .map((result) => result.item) : preFilteredPosts; const searchTools = ( @@ -397,7 +397,7 @@ function Expandable({ title, children }) { animate={{ maxHeight: expanded ? contentRef.current?.getBoundingClientRect().height + - titleRef.current?.getBoundingClientRect().height + titleRef.current?.getBoundingClientRect().height : titleRef.current?.getBoundingClientRect().height, }} transition={{