diff --git a/example/src/basic/Login/index.tsx b/example/src/basic/Login/index.tsx index f917024..2ac90f2 100644 --- a/example/src/basic/Login/index.tsx +++ b/example/src/basic/Login/index.tsx @@ -18,6 +18,7 @@ import { import Config from '../../config/agora.config'; import { useRtmClient } from '../../hooks/useRtmClient'; import * as log from '../../utils/log'; +console.log(Config); export default function Login() { const [uid, setUid] = useState(Config.uid); diff --git a/example/src/config/agora.config.ts b/example/src/config/agora.config.ts index 2bf90e3..4c4b26e 100644 --- a/example/src/config/agora.config.ts +++ b/example/src/config/agora.config.ts @@ -6,7 +6,7 @@ try { } catch (error) { console.warn(error); } - +console.log(env); const config = { // Get your own App ID at https://dashboard.agora.io/ appId: localAppId || env.appId,