mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-21 14:42:19 +07:00
feat(sub): add Copy All Configs button to subscription page (#5163)
* feat(sub): add Copy All Configs button to subscription page * fix(sub): include links in copyAll dependency array Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * chore: fmt * fix(sub): drop module-level links from copyAll deps to satisfy exhaustive-deps links is derived from window.__SUB_PAGE_DATA__ at module scope, so listing it in the useCallback dependency array triggers a react-hooks/exhaustive-deps warning (outer-scope value). Matches the existing single-link copy callback's deps. --------- Co-authored-by: nikan <nikan> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
nikan
Sanaei
parent
89b1137b00
commit
ffde2f7ebf
@@ -95,7 +95,9 @@
|
||||
"active": "启用",
|
||||
"inactive": "停用",
|
||||
"unlimited": "无限制",
|
||||
"noExpiry": "无到期"
|
||||
"noExpiry": "无到期",
|
||||
"copyAllConfigs": "复制全部配置",
|
||||
"copyAllConfigsCopied": "已复制全部配置"
|
||||
},
|
||||
"menu": {
|
||||
"theme": "主题",
|
||||
|
||||
Reference in New Issue
Block a user