diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks')
-rw-r--r-- | packages/merchant-backoffice-ui/src/hooks/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/index.ts b/packages/merchant-backoffice-ui/src/hooks/index.ts index 3c8ef15ed..f0cd1bfb9 100644 --- a/packages/merchant-backoffice-ui/src/hooks/index.ts +++ b/packages/merchant-backoffice-ui/src/hooks/index.ts @@ -45,14 +45,14 @@ const loginTokenCodec = buildCodecForObject<LoginToken>() .property("token", codecForString()) .property("expiration", codecForTimestamp) .build("loginToken") -const TOKENS_KEY = buildStorageKey("backend-token", codecForMap(loginTokenCodec)); +const TOKENS_KEY = buildStorageKey("merchant-token", codecForMap(loginTokenCodec)); export function useBackendURL( url?: string, ): [string, StateUpdater<string>] { const [value, setter] = useSimpleLocalStorage( - "backend-url", + "merchant-base-url", url || calculateRootPath(), ); |