Skip to content

Commit 2e1f204

Browse files
committed
chore(deps): update account server api and fix breaking change
1 parent 9db8e7a commit 2e1f204

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@rjsf/utils": "5.24.2",
5353
"@rjsf/validator-ajv8": "5.24.2",
5454
"@sentry/nextjs": "8.52.1",
55-
"@squonk/account-server-client": "4.0.0",
55+
"@squonk/account-server-client": "4.1.0",
5656
"@squonk/data-manager-client": "3.2.0",
5757
"@squonk/mui-theme": "4.0.0",
5858
"@squonk/sdf-parser": "1.3.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/userContext/SelectOrganisation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const SelectOrganisation = (autoCompleteProps: SelectOrganisationProps) =
2828
const [organisation, setOrganisation] = useSelectedOrganisation();
2929
const { setCurrentProjectId } = useCurrentProjectId();
3030

31-
const { data, isLoading, isError, error } = useGetOrganisations({
31+
const { data, isLoading, isError, error } = useGetOrganisations(undefined, {
3232
query: { select: (data) => data.organisations },
3333
});
3434
const organisations = data ?? [];

src/hooks/useGetPersonalUnit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useKeycloakUser } from "./useKeycloakUser";
44

55
export const useGetPersonalUnit = (username?: string) => {
66
const { user } = useKeycloakUser();
7-
return useGetUnits({
7+
return useGetUnits(undefined, {
88
query: {
99
select: (units) =>
1010
units.units

0 commit comments

Comments
 (0)