add rules help button

This commit is contained in:
Gabe Yuan
2023-09-04 22:29:39 +08:00
parent 4200caa641
commit 55af58faac
6 changed files with 41 additions and 4 deletions

View File

@@ -213,7 +213,9 @@ export default function Settings() {
value={googleUrl}
onChange={handleChange}
helperText={
<Link href={URL_KISS_PROXY}>{i18n("about_api_proxy")}</Link>
<Link href={URL_KISS_PROXY} target="_blank">
{i18n("about_api_proxy")}
</Link>
}
/>
@@ -254,7 +256,9 @@ export default function Settings() {
value={openaiUrl}
onChange={handleChange}
helperText={
<Link href={URL_KISS_PROXY}>{i18n("about_api_proxy")}</Link>
<Link href={URL_KISS_PROXY} target="_blank">
{i18n("about_api_proxy")}
</Link>
}
/>