@selfcommunity/react-ui 0.7.19 → 0.7.20-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,7 +74,7 @@ function GroupSubscribeButton(inProps) {
|
|
|
74
74
|
if (authUserId) {
|
|
75
75
|
setStatus(scGroupsManager.subscriptionStatus(scGroup));
|
|
76
76
|
}
|
|
77
|
-
}, [authUserId, scGroupsManager.subscriptionStatus
|
|
77
|
+
}, [authUserId, scGroupsManager.subscriptionStatus]);
|
|
78
78
|
/**
|
|
79
79
|
* Notify UI when a member is added to a group
|
|
80
80
|
* @param group
|
|
@@ -72,7 +72,7 @@ export default function GroupSubscribeButton(inProps) {
|
|
|
72
72
|
if (authUserId) {
|
|
73
73
|
setStatus(scGroupsManager.subscriptionStatus(scGroup));
|
|
74
74
|
}
|
|
75
|
-
}, [authUserId, scGroupsManager.subscriptionStatus
|
|
75
|
+
}, [authUserId, scGroupsManager.subscriptionStatus]);
|
|
76
76
|
/**
|
|
77
77
|
* Notify UI when a member is added to a group
|
|
78
78
|
* @param group
|