Skip to content

Commit

Permalink
Fix typecheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Feb 8, 2024
1 parent 77d264b commit f739b6e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/desktop-client/src/hooks/useCategories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ export function useCategories() {
}
}, []);

return useSelector<State, QueriesState['categories']>(
state => state.queries.categories,
);
return useSelector(state => state.queries.categories);
}

0 comments on commit f739b6e

Please sign in to comment.