Skip to content

Commit

Permalink
fix: answer display
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Nov 16, 2023
1 parent e1d2a02 commit 026fc44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pages/home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ const Home = () => {
</Button>
</Flex>
</section>
<section style={{ background: '#282c34', color: '#fff', borderRadius: 4, padding: 10 }}>
{loading ? 'AI思考中...' : aiText ? <ReMarkdown markdownText={aiText} /> : ''}
</section>
{aiText ? (
<section style={{ background: '#282c34', color: '#fff', borderRadius: 4, padding: 10 }}>
{loading ? 'AI思考中...' : <ReMarkdown markdownText={aiText} />}
</section>
) : null}
</FixTabPanel>
)
}
Expand Down

1 comment on commit 026fc44

@vercel
Copy link

@vercel vercel bot commented on 026fc44 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pro-react-admin – ./

pro-react-admin.vercel.app
pro-react-admin-wkylin.vercel.app
pro-react-admin-git-main-wkylin.vercel.app

Please sign in to comment.