refactor: improve code formatting and readability across multiple files
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
// IMPORTANT: keep this file dependency-free (no `"use client"`, no React, no Clerk imports)
|
||||
// so it can be used from both client and server/edge entrypoints.
|
||||
|
||||
export function isLikelyValidClerkPublishableKey(key: string | undefined): key is string {
|
||||
export function isLikelyValidClerkPublishableKey(
|
||||
key: string | undefined,
|
||||
): key is string {
|
||||
if (!key) return false;
|
||||
|
||||
// Clerk publishable keys look like: pk_test_... or pk_live_...
|
||||
|
||||
Reference in New Issue
Block a user