(text)
| 337 | }; |
| 338 | |
| 339 | const copyText = async (text) => { |
| 340 | if (await copy(text)) { |
| 341 | showSuccess(t('已复制:') + text); |
| 342 | } else { |
| 343 | // setSearchKeyword(text); |
| 344 | Modal.error({ title: t('无法复制到剪贴板,请手动复制'), content: text }); |
| 345 | } |
| 346 | }; |
| 347 | |
| 348 | const handleNotificationSettingChange = (type, value) => { |
| 349 | setNotificationSettings((prev) => ({ |
no test coverage detected