Skip to content

Commit 7ba1718

Browse files
committed
remove uneeded param
1 parent c74f930 commit 7ba1718

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/hooks/useFeedKeysWithAssignedCards.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import useOnyx from './useOnyx';
88
type FeedKeysWithAssignedCards = Record<string, true>;
99

1010
function useFeedKeysWithAssignedCards(): FeedKeysWithAssignedCards | undefined {
11-
const [betas] = useOnyx(ONYXKEYS.BETAS);
12-
const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards, betas), [betas]);
11+
const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards));
1312
const [feedKeysWithCards] = useOnyx(ONYXKEYS.COLLECTION.WORKSPACE_CARDS_LIST, {
1413
selector: feedKeysWithCardsSelector,
1514
});

0 commit comments

Comments
 (0)