mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Export preference components. Updates for cloud.
This commit is contained in:
parent
23838c57fb
commit
0ae5c28da7
7 changed files with 14 additions and 9 deletions
|
|
@ -8,7 +8,7 @@ export function useUserTeamsQuery(userId: string) {
|
|||
return useQuery({
|
||||
queryKey: ['teams', { userId, modified }],
|
||||
queryFn: () => {
|
||||
return get(`/users/${userId}/teams`, { userId });
|
||||
return get(`/users/${userId}/teams`);
|
||||
},
|
||||
enabled: !!userId,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue