fix(docs): typo in OpenPanel import and class name (#68)
This commit is contained in:
@@ -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>
|
<Callout>Remember, your client secret is exposed here so do not use this on client side.</Callout>
|
||||||
|
|
||||||
```tsx filename="utils/op.ts"
|
```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',
|
clientId: 'your-client-id',
|
||||||
clientSecret: 'your-client-secret',
|
clientSecret: 'your-client-secret',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user