Skip to content

Commit

Permalink
chore: rollback to clerk react
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobustamante committed Dec 23, 2023
1 parent 6886fc5 commit 57bbdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Auth/clerk.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import { ClerkProvider } from "@clerk/nextjs";
import { ClerkProvider } from "@clerk/clerk-react";
import React from "react";

type Props = {
Expand All @@ -19,7 +19,7 @@ export const Clerk = ({ children }: Props) => {
const splitted = url.host.split(".");
return [splitted.at(-2), splitted.at(-1)].join(".");
}}
publishableKey={process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY || ""}
publishableKey={process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY!}

Check warning on line 22 in src/components/Auth/clerk.tsx

View workflow job for this annotation

GitHub Actions / Linting and Typechecking

Forbidden non-null assertion
>
{children}
</ClerkProvider>
Expand Down

0 comments on commit 57bbdc9

Please sign in to comment.