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_WORKER = "https://github.com/fishjar/kiss-worker";
|
||||||
export const URL_KISS_PROXY = "https://github.com/fishjar/kiss-proxy";
|
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 = "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 =
|
export const URL_RAW_PREFIX =
|
||||||
"https://raw.githubusercontent.com/fishjar/kiss-translator/master";
|
"https://raw.githubusercontent.com/fishjar/kiss-translator/master";
|
||||||
export const URL_MICROSOFT_AUTH = "https://edge.microsoft.com/translate/auth";
|
export const URL_MICROSOFT_AUTH = "https://edge.microsoft.com/translate/auth";
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
OPT_STYLE_ALL,
|
OPT_STYLE_ALL,
|
||||||
OPT_STYLE_DIY,
|
OPT_STYLE_DIY,
|
||||||
OPT_STYLE_USE_COLOR,
|
OPT_STYLE_USE_COLOR,
|
||||||
URL_KISS_RULES,
|
URL_KISS_RULES_NEW_ISSUE,
|
||||||
} from "../../config";
|
} from "../../config";
|
||||||
import { useState, useRef, useEffect, useMemo } from "react";
|
import { useState, useRef, useEffect, useMemo } from "react";
|
||||||
import { useI18n } from "../../hooks/I18n";
|
import { useI18n } from "../../hooks/I18n";
|
||||||
@@ -484,7 +484,7 @@ function HelpButton() {
|
|||||||
size="small"
|
size="small"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
window.open(URL_KISS_RULES, "_blank");
|
window.open(URL_KISS_RULES_NEW_ISSUE, "_blank");
|
||||||
}}
|
}}
|
||||||
startIcon={<HelpIcon />}
|
startIcon={<HelpIcon />}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user