From bffdd35c9f990508f747dddd5a40320210a40c6d Mon Sep 17 00:00:00 2001 From: Gregor Zurowski Date: Tue, 26 Nov 2024 13:36:40 +0100 Subject: [PATCH 1/2] Fix typo in ResearchHub banner --- components/ResearchHubBanner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ResearchHubBanner.js b/components/ResearchHubBanner.js index 4082d16de..575491a0f 100644 --- a/components/ResearchHubBanner.js +++ b/components/ResearchHubBanner.js @@ -74,7 +74,7 @@ class ResearchHubBanner extends Component {
- {`We are bulding an open platform and community whose goal it is to + {`We are building an open platform and community whose goal it is to accelerate science. `} Read more From e9182df514a50298c0aff90b87c401dbfb028df8 Mon Sep 17 00:00:00 2001 From: Gregor Zurowski Date: Tue, 26 Nov 2024 13:40:22 +0100 Subject: [PATCH 2/2] [Minor] Remove commented out code --- components/UnifiedDocFeed/UnifiedDocFeedContainer.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/UnifiedDocFeed/UnifiedDocFeedContainer.tsx b/components/UnifiedDocFeed/UnifiedDocFeedContainer.tsx index 174a000ea..0c0751639 100644 --- a/components/UnifiedDocFeed/UnifiedDocFeedContainer.tsx +++ b/components/UnifiedDocFeed/UnifiedDocFeedContainer.tsx @@ -65,12 +65,6 @@ function UnifiedDocFeedContainer({ setUnifiedDocsLoading(false); }, []); - // useEffectUpdateStatesOnServerChanges({ - // routePath: routerPathName, - // serverLoadedData, - // setPaginationInfo, - // }); - const firstLoad = useRef(!isServer() && !unifiedDocuments.length); useEffectFetchDocs({ fetchParams: { @@ -146,7 +140,6 @@ function UnifiedDocFeedContainer({ }; const showLoadMoreButton = hasMore; - // const renderableUniDoc = unifiedDocuments.slice(0, localPage * 10); const cards = getDocumentCard({ setUnifiedDocuments, unifiedDocumentData: unifiedDocuments,