Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Sep 20, 2024
1 parent eb1d46d commit d309aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Coze.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Coze() {

const loadCoze = async () => {
await loadExternalResource(cozeSrc)
CozeWebSDK = window.CozeWebSDK
const CozeWebSDK = window?.CozeWebSDK
if (CozeWebSDK) {
new CozeWebSDK.WebChatClient({
config: {
Expand Down

0 comments on commit d309aef

Please sign in to comment.