React Query Integration for Server State Sync in Clinet #245

Merged
admin merged 60 commits from react-query into main 2025-07-11 11:32:19 +00:00
Showing only changes of commit 7fbbe98373 - Show all commits

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();