fix(docs): typo in OpenPanel import and class name (#68)

This commit is contained in:
Akinkunmi
2024-10-08 22:34:14 +01:00
committed by GitHub
parent f43c875b53
commit 211f59abdb

View File

@@ -110,9 +110,9 @@ Since you can't use hooks in server components, you need to create an instance o
<Callout>Remember, your client secret is exposed here so do not use this on client side.</Callout>
```tsx filename="utils/op.ts"
import { Openpanel } from '@openpanel/nextjs';
import { OpenPanel } from '@openpanel/nextjs';
export const op = new Openpanel({
export const op = new OpenPanel({
clientId: 'your-client-id',
clientSecret: 'your-client-secret',
});