mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
implement react-query for all content views (#1708)
Implements react-query and replaces direct apiClient usage for sources, annotate and history content views. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
committed by
GitHub
parent
8e47238bf7
commit
d6e36e7145
@@ -34,7 +34,7 @@ type UseChangesetsRequest = {
|
||||
page?: string | number;
|
||||
};
|
||||
|
||||
const changesetQueryKey = (repository: NamespaceAndName, id: string) => {
|
||||
export const changesetQueryKey = (repository: NamespaceAndName, id: string) => {
|
||||
return repoQueryKey(repository, "changeset", id);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user