From df4975c6887851f8bdd128ab6d1febfd1f898ceb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 26 Jun 2023 11:09:44 -0500 Subject: [PATCH] Remove unused makeGetGroup --- app/soapbox/selectors/index.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/soapbox/selectors/index.ts b/app/soapbox/selectors/index.ts index 5d6fccefc..2d3c3ddc8 100644 --- a/app/soapbox/selectors/index.ts +++ b/app/soapbox/selectors/index.ts @@ -328,16 +328,3 @@ export const makeGetStatusIds = () => createSelector([ return !shouldFilter(status, columnSettings); }); }); - -export const makeGetGroup = () => { - return createSelector([ - (state: RootState, id: string) => state.groups.items.get(id), - (state: RootState, id: string) => state.group_relationships.get(id), - ], (base, relationship) => { - if (!base) return null; - - return base.withMutations(map => { - if (relationship) map.set('relationship', relationship); - }); - }); -};