Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/developing' into developing
Browse files Browse the repository at this point in the history
  • Loading branch information
chat2db-jerry committed Jul 23, 2023
2 parents 823e4b7 + bb9520a commit b66d03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chat2db-client/src/components/Console/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function Console(props: IProps) {
}

setIsLoading(true);
const { tip, wechatQrCodeUrl } = await aiServer.getInviteQrCode({});
const { tip, wechatQrCodeUrl } = (await aiServer.getInviteQrCode({})) || {};
setIsLoading(false);
setModalProps({
imageUrl: wechatQrCodeUrl,
Expand Down Expand Up @@ -412,7 +412,7 @@ function Console(props: IProps) {
onExecute={executeSQL}
options={props.editorOptions}
tables={props.tables}
// onChange={}
// onChange={}
/>
{/* <Modal open={modelConfig.open}>{modelConfig.content}</Modal> */}
<Drawer open={isAiDrawerOpen} getContainer={false} mask={false} onClose={() => setIsAiDrawerOpen(false)}>
Expand Down

0 comments on commit b66d03a

Please sign in to comment.