From 6f9c2aeb00670f78c26ae3b5f93aa041b97a01af Mon Sep 17 00:00:00 2001 From: Ken Gullaksen Date: Thu, 5 Oct 2023 18:49:53 +0200 Subject: [PATCH] signal loaded --- src/App/useUserInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/useUserInfo.ts b/src/App/useUserInfo.ts index c035819b4..672ee5fe6 100644 --- a/src/App/useUserInfo.ts +++ b/src/App/useUserInfo.ts @@ -8,7 +8,7 @@ import { Set } from 'immutable'; import { useState } from 'react'; const UserInfoRespons = z.object({ - loaded: z.boolean(), + loaded: z.boolean().optional().default(true), altinnError: z.boolean(), organisasjoner: z.array(Organisasjon), tilganger: z