mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 01:30:51 +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)
|
||||
|
||||
const pathname = store.getState().runtime.activeRoute
|
||||
console.log('get pathname', pathname)
|
||||
|
||||
if (pathname !== '/translate') {
|
||||
// ALTERNATIVE: 也许可以改成通知的形式
|
||||
window.message.success(t('translate.success'))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user