From b89d22950435374b19eb19462c9f51f495f751c9 Mon Sep 17 00:00:00 2001 From: 3lang <675483520@qq.com> Date: Tue, 19 Jul 2022 16:26:28 +0800 Subject: [PATCH] docs: correct react sdk turorial content (#1597) --- .../console/src/assets/docs/tutorial/integrate-sdk/react.mdx | 2 +- .../src/assets/docs/tutorial/integrate-sdk/react_zh-cn.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console/src/assets/docs/tutorial/integrate-sdk/react.mdx b/packages/console/src/assets/docs/tutorial/integrate-sdk/react.mdx index 947b0b7b4..a6a57794c 100644 --- a/packages/console/src/assets/docs/tutorial/integrate-sdk/react.mdx +++ b/packages/console/src/assets/docs/tutorial/integrate-sdk/react.mdx @@ -52,7 +52,7 @@ Import and use `LogtoProvider` to provide a Logto context: const config: LogtoConfig = { endpoint: '${props.endpoint}', - clientId: '${props.appId}', + appId: '${props.appId}', }; const App = () => ( diff --git a/packages/console/src/assets/docs/tutorial/integrate-sdk/react_zh-cn.mdx b/packages/console/src/assets/docs/tutorial/integrate-sdk/react_zh-cn.mdx index 62f79fdde..f3f794f68 100644 --- a/packages/console/src/assets/docs/tutorial/integrate-sdk/react_zh-cn.mdx +++ b/packages/console/src/assets/docs/tutorial/integrate-sdk/react_zh-cn.mdx @@ -52,7 +52,7 @@ Import 并使用 `LogtoProvider` 来提供 Logto context: const config: LogtoConfig = { endpoint: '${props.endpoint}', - clientId: '${props.appId}', + appId: '${props.appId}', }; const App = () => (