gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 01/02: notifications exposed


From: gnunet
Subject: [taler-wallet-core] 01/02: notifications exposed
Date: Fri, 29 Sep 2023 21:02:43 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit c10f3f3aded637111176487f95403294b1164633
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Sep 29 16:01:59 2023 -0300

    notifications exposed
---
 packages/web-util/src/hooks/index.ts            | 10 +---------
 packages/web-util/src/hooks/useNotifications.ts |  2 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/packages/web-util/src/hooks/index.ts 
b/packages/web-util/src/hooks/index.ts
index cc3267dbd..f6c74ff22 100644
--- a/packages/web-util/src/hooks/index.ts
+++ b/packages/web-util/src/hooks/index.ts
@@ -1,15 +1,7 @@
 export { useLang } from "./useLang.js";
 export { useLocalStorage, buildStorageKey } from "./useLocalStorage.js";
 export { useMemoryStorage } from "./useMemoryStorage.js";
-export {
-  useNotifications,
-  notifyError,
-  notifyException,
-  notifyInfo,
-  notify,
-  ErrorNotification,
-  InfoNotification
-} from "./useNotifications.js";
+export * from "./useNotifications.js";
 export {
   useAsyncAsHook,
   HookError,
diff --git a/packages/web-util/src/hooks/useNotifications.ts 
b/packages/web-util/src/hooks/useNotifications.ts
index 792095b06..e9e8a240b 100644
--- a/packages/web-util/src/hooks/useNotifications.ts
+++ b/packages/web-util/src/hooks/useNotifications.ts
@@ -54,7 +54,7 @@ export function notifyInfo(title: TranslatedString) {
   });
 }
 
-type Notification = {
+export type Notification = {
   message: NotificationMessage;
   remove: () => void;
 };

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]