We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85abda commit 577f7adCopy full SHA for 577f7ad
.changeset/odd-books-win.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Ensure that organization component warnings are only shown when no user session exists in development
packages/clerk-js/src/core/clerk.ts
@@ -753,7 +753,7 @@ export class Clerk implements ClerkInterface {
753
): __internal_AttemptToEnableEnvironmentSettingResult => {
754
const { for: setting, caller } = params;
755
756
- if (!this.user) {
+ if (!this.user && this.#instanceType === 'development') {
757
logger.warnOnce(
758
`Clerk: "${caller}" requires an active user session. Ensure a user is signed in before executing ${caller}.`,
759
);
0 commit comments