refactor: improve code formatting and readability across multiple files

This commit is contained in:
Abhimanyu Saharan
2026-02-08 00:29:14 +05:30
parent 1dfff39140
commit 527cc13c63
7 changed files with 54 additions and 30 deletions

View File

@@ -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_...