From 696f8ec6e00ad2158d2ac369986dda0e4643ac38 Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Wed, 12 Feb 2025 15:37:20 +0100
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Expose=20startActivity=20and=20stop?=
=?UTF-8?q?Activity=20actions?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/ppcp-settings/resources/js/data/common/hooks.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/ppcp-settings/resources/js/data/common/hooks.js b/modules/ppcp-settings/resources/js/data/common/hooks.js
index a584c4e99..f33d55183 100644
--- a/modules/ppcp-settings/resources/js/data/common/hooks.js
+++ b/modules/ppcp-settings/resources/js/data/common/hooks.js
@@ -215,6 +215,8 @@ export const useBusyState = () => {
);
return {
+ startActivity,
+ stopActivity,
withActivity, // HOC
isBusy, // Boolean.
};