Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
peteranny committed Sep 22, 2024
1 parent 34e7e8c commit b2ac7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useIsMyPublishId.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const useIsMyPublishId = () => {
dispatch(queryMyPublishIdsIfNeeded());
}, [dispatch]);

const useIsMyPublishId = useCallback(
const isMyPublishId = useCallback(
publishId => {
if (!isFetched(myPublishIdsBox)) {
return false;
Expand All @@ -24,7 +24,7 @@ const useIsMyPublishId = () => {
[myPublishIdsBox],
);

return useIsMyPublishId;
return isMyPublishId;
};

export default useIsMyPublishId;

0 comments on commit b2ac7b3

Please sign in to comment.