fix: plugin mgm page mistakely refreshed when open acc option menu

This commit is contained in:
Junyan Qin
2025-11-05 18:59:40 +08:00
parent 1cb9560663
commit 4a868afecd
2 changed files with 10 additions and 5 deletions

View File

@@ -121,7 +121,8 @@ export default function PluginConfigPage() {
};
fetchPluginSystemStatus();
}, [t]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
function formatFileSize(bytes: number): string {
if (bytes === 0) return '0 Bytes';