@rebasepro/client-firebase 0.0.1-canary.c53f5db → 0.0.1-canary.cbdd980
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.es.js
CHANGED
|
@@ -11,7 +11,6 @@ import Fuse from "fuse.js";
|
|
|
11
11
|
import { getFunctions, httpsCallable } from "@firebase/functions";
|
|
12
12
|
import { c } from "react-compiler-runtime";
|
|
13
13
|
import { getDatabase, query as query$1, ref as ref$1, orderByKey, startAt, limitToFirst, get, onValue, push, set, remove, orderByChild } from "@firebase/database";
|
|
14
|
-
import equal from "react-fast-compare";
|
|
15
14
|
import { removeUndefined } from "@rebasepro/utils";
|
|
16
15
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
17
16
|
import { useModeController, ErrorView, useSnackbarController, RebaseLogo, useBrowserTitleAndIcon, useBuildModeController, useBuildAdminModeController, useBuildLocalConfigurationPersistence, useValidateAuthenticator, RebaseRoutes, Rebase, AdminModeControllerProvider, SnackbarProvider, ModeControllerProvider } from "@rebasepro/core";
|
|
@@ -1885,7 +1884,7 @@ function useBuildUserManagement({
|
|
|
1885
1884
|
console.debug("Updating roles", entities);
|
|
1886
1885
|
try {
|
|
1887
1886
|
const newRoles = entityToRoles(entities);
|
|
1888
|
-
if (!
|
|
1887
|
+
if (!deepEqual(newRoles, roles)) {
|
|
1889
1888
|
setRoles(newRoles);
|
|
1890
1889
|
}
|
|
1891
1890
|
} catch (e) {
|