-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/@aetherspace-clerk-auth/middleware/swrClerkAuthMiddleware.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/@aetherspace/navigation/useRouteParams/useRouteParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/@aetherspace/navigation/useRouteParams/useRouteParams.web.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff --git a/node_modules/@clerk/nextjs/dist/cjs/app-router/client/ClerkProvider.js b/node_modules/@clerk/nextjs/dist/cjs/app-router/client/ClerkProvider.js | ||
index 4f25392..b77dacc 100644 | ||
--- a/node_modules/@clerk/nextjs/dist/cjs/app-router/client/ClerkProvider.js | ||
+++ b/node_modules/@clerk/nextjs/dist/cjs/app-router/client/ClerkProvider.js | ||
@@ -38,11 +38,12 @@ var import_react = __toESM(require("react")); | ||
var import_NextOptionsContext = require("../../client-boundary/NextOptionsContext"); | ||
var import_useSafeLayoutEffect = require("../../client-boundary/useSafeLayoutEffect"); | ||
var import_mergeNextClerkPropsWithEnv = require("../../utils/mergeNextClerkPropsWithEnv"); | ||
-var import_useAwaitableNavigate = require("./useAwaitableNavigate"); | ||
+// var import_useAwaitableNavigate = require("./useAwaitableNavigate"); | ||
const ClientClerkProvider = (props) => { | ||
const { __unstable_invokeMiddlewareOnAuthStateChange = true } = props; | ||
const router = (0, import_navigation.useRouter)(); | ||
- const navigate = (0, import_useAwaitableNavigate.useAwaitableNavigate)(); | ||
+ // const navigate = (0, import_useAwaitableNavigate.useAwaitableNavigate)(); | ||
+ const navigate = router.push; | ||
(0, import_useSafeLayoutEffect.useSafeLayoutEffect)(() => { | ||
window.__unstable__onBeforeSetActive = () => { | ||
if (__unstable_invokeMiddlewareOnAuthStateChange) { | ||
diff --git a/node_modules/@clerk/nextjs/dist/esm/app-router/client/ClerkProvider.js b/node_modules/@clerk/nextjs/dist/esm/app-router/client/ClerkProvider.js | ||
index 79a81db..7a5ba43 100644 | ||
--- a/node_modules/@clerk/nextjs/dist/esm/app-router/client/ClerkProvider.js | ||
+++ b/node_modules/@clerk/nextjs/dist/esm/app-router/client/ClerkProvider.js | ||
@@ -5,11 +5,12 @@ import React from "react"; | ||
import { ClerkNextOptionsProvider } from "../../client-boundary/NextOptionsContext"; | ||
import { useSafeLayoutEffect } from "../../client-boundary/useSafeLayoutEffect"; | ||
import { mergeNextClerkPropsWithEnv } from "../../utils/mergeNextClerkPropsWithEnv"; | ||
-import { useAwaitableNavigate } from "./useAwaitableNavigate"; | ||
+// import { useAwaitableNavigate } from "./useAwaitableNavigate"; | ||
const ClientClerkProvider = (props) => { | ||
const { __unstable_invokeMiddlewareOnAuthStateChange = true } = props; | ||
const router = useRouter(); | ||
- const navigate = useAwaitableNavigate(); | ||
+ // const navigate = useAwaitableNavigate(); | ||
+ const navigate = router.push; | ||
useSafeLayoutEffect(() => { | ||
window.__unstable__onBeforeSetActive = () => { | ||
if (__unstable_invokeMiddlewareOnAuthStateChange) { |
68457a5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
codinsonndotdev – ./
codinsonndotdev-aetherspace-digital.vercel.app
codinson.dev
thorrstevens.dev
codinsonndotdev-git-main-aetherspace-digital.vercel.app
www.codinson.dev
www.thorrstevens.dev
codinsonn.dev