mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-20 23:04:19 +01:00
chore: using refetchQueries instead of invalidateQueries
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user