mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
refactor(useTranslate): 移除调试用的console.log语句
This commit is contained in:
parent
f1d8efd0e3
commit
76b99d66b8
@ -43,7 +43,7 @@ export default function useTranslate() {
|
|||||||
setTranslating(false)
|
setTranslating(false)
|
||||||
|
|
||||||
const pathname = store.getState().runtime.activeRoute
|
const pathname = store.getState().runtime.activeRoute
|
||||||
console.log('get pathname', pathname)
|
|
||||||
if (pathname !== '/translate') {
|
if (pathname !== '/translate') {
|
||||||
// ALTERNATIVE: 也许可以改成通知的形式
|
// ALTERNATIVE: 也许可以改成通知的形式
|
||||||
window.message.success(t('translate.success'))
|
window.message.success(t('translate.success'))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user