We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74f930 commit 7ba1718Copy full SHA for 7ba1718
1 file changed
src/hooks/useFeedKeysWithAssignedCards.ts
@@ -8,8 +8,7 @@ import useOnyx from './useOnyx';
8
type FeedKeysWithAssignedCards = Record<string, true>;
9
10
function useFeedKeysWithAssignedCards(): FeedKeysWithAssignedCards | undefined {
11
- const [betas] = useOnyx(ONYXKEYS.BETAS);
12
- const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards, betas), [betas]);
+ const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards));
13
const [feedKeysWithCards] = useOnyx(ONYXKEYS.COLLECTION.WORKSPACE_CARDS_LIST, {
14
selector: feedKeysWithCardsSelector,
15
});
0 commit comments