From 8aa9ce6d20b41b7eb9b438a56ccd34cb0da35f80 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 21 Mar 2024 12:11:31 -0300 Subject: wip --- packages/merchant-backoffice-ui/src/context/backend.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/merchant-backoffice-ui/src/context/backend.ts') 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); -- cgit v1.2.3