fixed syntax mistak

This commit is contained in:
Pramod Mahajan 2025-06-30 16:20:42 +05:30
parent 467d5d4b13
commit 7fbbe98373

View File

@ -278,7 +278,7 @@ export const useProjectsByEmployee = (employeeId) =>
export const useProjectName = () =>
{
const {data = [],isLoading,error,refetch} = useQuery( {
queryFn: [ "basicProjectNameList" ],
queryKey: [ "basicProjectNameList" ],
queryFn: async () =>
{
const res = await ProjectRepository.projectNameList();