Update index.js

This commit is contained in:
analogpvt 2023-05-20 12:53:36 +05:30 committed by GitHub
parent 96b4925ba8
commit c13057af78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ const About = () => {
localStorage.setItem('about', aboutContent);
} else {
showError(message);
setAbout('加载关于内容失败...');
setAbout('Failed to load about content...');
}
setAboutLoaded(true);
};
@ -34,11 +34,11 @@ const About = () => {
{
aboutLoaded && about === '' ? <>
<Segment>
<Header as='h3'>关于</Header>
<p>可在设置页面设置关于内容支持 HTML & Markdown</p>
项目仓库地址
<a href='https://github.com/songquanpeng/one-api'>
https://github.com/songquanpeng/one-api
<Header as='h3'>About</Header>
<p>About content can be set on the settings page and supports HTML & Markdown</p>
Repository address
<a href='https://github.com/analogpvt/one-api'>
https://github.com/analogpvt/one-api
</a>
</Segment>
</> : <>