gemi 0.30.7 → 0.30.8
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/client/index.js
CHANGED
|
@@ -2218,7 +2218,9 @@ function useNavigate() {
|
|
|
2218
2218
|
function action(pushOrReplace) {
|
|
2219
2219
|
return async (path, ...args) => {
|
|
2220
2220
|
const navigationAbortController = new AbortController();
|
|
2221
|
-
setNavigationAbortController
|
|
2221
|
+
if (setNavigationAbortController) {
|
|
2222
|
+
setNavigationAbortController(navigationAbortController);
|
|
2223
|
+
}
|
|
2222
2224
|
const [options = {}] = args;
|
|
2223
2225
|
const {
|
|
2224
2226
|
search = {},
|
|
@@ -32644,7 +32646,7 @@ function useUser() {
|
|
|
32644
32646
|
"/auth/me",
|
|
32645
32647
|
{},
|
|
32646
32648
|
{
|
|
32647
|
-
fallbackData: auth
|
|
32649
|
+
fallbackData: (auth == null ? void 0 : auth.user) ? auth.user : null
|
|
32648
32650
|
}
|
|
32649
32651
|
);
|
|
32650
32652
|
if (loading && !user) {
|