feat: extract user header

This commit is contained in:
Aaron William Po
2023-11-20 14:44:03 -05:00
parent 6641a45705
commit f7227519b6
3 changed files with 94 additions and 58 deletions

View File

@@ -3,7 +3,7 @@ import APIResponseValidationSchema from '@/validation/APIResponseValidationSchem
import useSWRInfinite from 'swr/infinite';
import { z } from 'zod';
const useGetUsersFollowingUser = ({
const useGetUsersFollowedByUser = ({
pageSize,
userId,
}: {
@@ -61,4 +61,4 @@ const useGetUsersFollowingUser = ({
};
};
export default useGetUsersFollowingUser;
export default useGetUsersFollowedByUser;