diff --git a/src/components/RecentUpdates/RecentUpdates.tsx b/src/components/RecentUpdates/RecentUpdates.tsx index b9892f6..5ac906b 100644 --- a/src/components/RecentUpdates/RecentUpdates.tsx +++ b/src/components/RecentUpdates/RecentUpdates.tsx @@ -34,7 +34,9 @@ const RecentUpdates = ({ setUpdatesToShow(updatesToShow + UPDATE_INCREMENTS) } - const updatesToRender = recentUpdates?.slice(0, updatesToShow) + const updatesToRender = recentUpdates + ?.slice(0, updatesToShow) + .filter((update) => update.Type === 'COURSE') return (