Comments (2)
Hey @lmyslinski thank you for reporting this issue.
We have merged a fix and this will be fixed in the next major (coming soon).
As a workaround this can be applied today is to put all custom links after all pages. F.e.
<UserButton afterSignOutUrl="/">
<UserButton.UserProfilePage
label="Custom Page 1"
url="custom1"
labelIcon={<div></div>}
>
Custom page 1
</UserButton.UserProfilePage>
<UserButton.UserProfilePage
label="Custom Page2"
url="custom2"
labelIcon={<div></div>}
>
Custom page 2
</UserButton.UserProfilePage>
<UserButton.UserProfileLink
label="Custom link1"
labelIcon={<div></div>}
url="https://any-url.com"
/>
<UserButton.UserProfileLink
label="Custom link2"
labelIcon={<div></div>}
url="https://any-url.com"
/>
</UserButton>
from javascript.
@panteliselef Thanks a lot for handling this - I've worked around the problem by building a custom user panel but I'm glad it's been fixed
from javascript.
Related Issues (20)
- `useUser` has a differently typed user object than `currentUser` and `clerkClient.users.getUser` HOT 6
- 404 if I want to sign up HOT 7
- authMiddleware.js assertInfiniteRedirectionLoop HOT 7
- Clerk dev failing for latest devices when using device emulation HOT 2
- getToken method returns null right after isSIgnedIn becomes true HOT 3
- "Uncaught Error: Rendered fewer hooks than expected" during signout HOT 1
- Node SDK: `verifyToken` function has wrong signature HOT 1
- Node SDK: `createUser` function missing `createdAt` property HOT 1
- Endless loop of 401 errors with Remix HOT 5
- Clerk Next.js not edge ready HOT 2
- Clerk doesn't follow `redirect_url` search parameter when refreshing page
- Install clerk package error with pnpm HOT 4
- clerk-expo requires react-dom HOT 2
- `mountSignUp` not loading the locales HOT 11
- [nextjs app router] `ClerkProvider` breaks 404 routing HOT 11
- ClerkProvider + auth + everything not compatible with next PPR (next 14) HOT 4
- Unable to sign-up, turnstile not loaded in cors-friendly way HOT 2
- Infinite Redirect Loop When Home URL is current URL HOT 5
- Infinite redirect loop on same-domain deployments HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript.