summaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/context/backend.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backoffice-ui/src/context/backend.ts')
-rw-r--r--packages/merchant-backoffice-ui/src/context/backend.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/context/backend.ts b/packages/merchant-backoffice-ui/src/context/backend.ts
index 6f2fd2aff..f78236216 100644
--- a/packages/merchant-backoffice-ui/src/context/backend.ts
+++ b/packages/merchant-backoffice-ui/src/context/backend.ts
@@ -1,6 +1,6 @@
/*
This file is part of GNU Taler
- (C) 2021-2023 Taler Systems S.A.
+ (C) 2021-2024 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -53,7 +53,7 @@ function useBackendContextState(
};
}
-export const BackendContextProvider = ({
+const BackendContextProvider = ({
children,
defaultUrl,
}: {
@@ -65,5 +65,5 @@ export const BackendContextProvider = ({
return h(BackendContext.Provider, { value, children });
};
-export const useBackendContext = (): BackendContextType =>
+const useBackendContext = (): BackendContextType =>
useContext(BackendContext);