Skip to content

Commit 3179bd5

Browse files
committed
missing param
1 parent 7ba1718 commit 3179bd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useFeedKeysWithAssignedCards.ts

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

1010
function useFeedKeysWithAssignedCards(): FeedKeysWithAssignedCards | undefined {
11-
const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards));
11+
const feedKeysWithCardsSelector = useCallback((allWorkspaceCards: OnyxCollection<WorkspaceCardsList>) => buildFeedKeysWithAssignedCards(allWorkspaceCards), []);
1212
const [feedKeysWithCards] = useOnyx(ONYXKEYS.COLLECTION.WORKSPACE_CARDS_LIST, {
1313
selector: feedKeysWithCardsSelector,
1414
});

0 commit comments

Comments
 (0)