chore: using refetchQueries instead of invalidateQueries

This commit is contained in:
d-kimsuon
2025-10-15 03:47:09 +09:00
parent d322db543c
commit f34943c9cc
3 changed files with 5 additions and 7 deletions

View File

@@ -18,9 +18,7 @@ export const projectListQuery = {
export const projectDetailQuery = (projectId: string, cursor?: string) =>
({
queryKey: cursor
? ["projects", projectId, cursor]
: ["projects", projectId],
queryKey: ["projects", projectId],
queryFn: async () => {
const response = await honoClient.api.projects[":projectId"].$get({
param: { projectId },