@bigbinary/neeto-team-members-frontend 3.2.0-beta2 → 3.2.0-beta3

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.
package/dist/index.cjs.js CHANGED
@@ -5170,7 +5170,6 @@ var Roles = function Roles(_ref) {
5170
5170
  isNewRolePaneOpen = _useState4[0],
5171
5171
  setIsNewRolePaneOpen = _useState4[1];
5172
5172
  var _useFetchRoles = useFetchRoles({
5173
- onSuccess: setModifiedRoles,
5174
5173
  enabled: isViewPermissionGranted
5175
5174
  }),
5176
5175
  _useFetchRoles$data = _useFetchRoles.data,
@@ -5206,6 +5205,9 @@ var Roles = function Roles(_ref) {
5206
5205
  var handleReset = function handleReset() {
5207
5206
  return setModifiedRoles(roles);
5208
5207
  };
5208
+ require$$0.useEffect(function () {
5209
+ setModifiedRoles(roles);
5210
+ }, [roles]);
5209
5211
  if (isRolesLoading || isPermissionsLoading) {
5210
5212
  return /*#__PURE__*/jsxRuntime.jsx("div", {
5211
5213
  className: "ntm-members-page-loader",