fix help link
This commit is contained in:
@@ -59,6 +59,8 @@ export const THEME_DARK = "dark";
|
||||
export const URL_KISS_WORKER = "https://github.com/fishjar/kiss-worker";
|
||||
export const URL_KISS_PROXY = "https://github.com/fishjar/kiss-proxy";
|
||||
export const URL_KISS_RULES = "https://github.com/fishjar/kiss-rules";
|
||||
export const URL_KISS_RULES_NEW_ISSUE =
|
||||
"https://github.com/fishjar/kiss-rules/issues/new";
|
||||
export const URL_RAW_PREFIX =
|
||||
"https://raw.githubusercontent.com/fishjar/kiss-translator/master";
|
||||
export const URL_MICROSOFT_AUTH = "https://edge.microsoft.com/translate/auth";
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
OPT_STYLE_ALL,
|
||||
OPT_STYLE_DIY,
|
||||
OPT_STYLE_USE_COLOR,
|
||||
URL_KISS_RULES,
|
||||
URL_KISS_RULES_NEW_ISSUE,
|
||||
} from "../../config";
|
||||
import { useState, useRef, useEffect, useMemo } from "react";
|
||||
import { useI18n } from "../../hooks/I18n";
|
||||
@@ -484,7 +484,7 @@ function HelpButton() {
|
||||
size="small"
|
||||
variant="outlined"
|
||||
onClick={() => {
|
||||
window.open(URL_KISS_RULES, "_blank");
|
||||
window.open(URL_KISS_RULES_NEW_ISSUE, "_blank");
|
||||
}}
|
||||
startIcon={<HelpIcon />}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user