From 211f59abdb73a0650735b62ef779b58cc6099d03 Mon Sep 17 00:00:00 2001 From: Akinkunmi Date: Tue, 8 Oct 2024 22:34:14 +0100 Subject: [PATCH] fix(docs): typo in OpenPanel import and class name (#68) --- apps/docs/src/pages/docs/sdks/nextjs.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/src/pages/docs/sdks/nextjs.mdx b/apps/docs/src/pages/docs/sdks/nextjs.mdx index 5916e4d7..5f1c5ab0 100644 --- a/apps/docs/src/pages/docs/sdks/nextjs.mdx +++ b/apps/docs/src/pages/docs/sdks/nextjs.mdx @@ -110,9 +110,9 @@ Since you can't use hooks in server components, you need to create an instance o Remember, your client secret is exposed here so do not use this on client side. ```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', });