Skip to content

Commit

Permalink
adding clerk key
Browse files Browse the repository at this point in the history
  • Loading branch information
Timi2424 committed Feb 22, 2024
1 parent ac6d4b8 commit a411723
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions my-app/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import App from "./App";
import { ThemeContextProvider } from "./theme/ThemeContext";
import { SnackbarProvider } from "./context/useSnackContext";
import { InteractionsProvider } from "./context/useInteractionsContext";
import env from "react-dotenv";

const PUBLISHABLE_KEY = env.REACT_APP_VITE_CLERK_PUBLISHABLE_KEY
const PUBLISHABLE_KEY = 'pk_test_ZXhhY3QtbWFydGluLTgyLmNsZXJrLmFjY291bnRzLmRldiQ'

if (PUBLISHABLE_KEY === null || PUBLISHABLE_KEY === undefined || PUBLISHABLE_KEY === '') {
if (PUBLISHABLE_KEY === null || PUBLISHABLE_KEY === undefined) {
throw new Error("Missing Publishable Key")
}

Expand Down

0 comments on commit a411723

Please sign in to comment.