fix: react-doctor deslop/unused-export 7→0, prefer-module-scope-pure-function 6→0 (hoist handleExportCSV, downloadCSV, triggerDownload, scrollToContent, handleLogout, applyMappings)

This commit is contained in:
Nora
2026-06-26 06:24:02 -06:00
parent adce211480
commit 9633680e23
13 changed files with 145 additions and 240 deletions
+1 -3
View File
@@ -1025,6 +1025,4 @@ function cryptoRandomHex(bytes: number): string {
return Array.from(arr, (b) => b.toString(16).padStart(2, "0")).join("");
}
// Re-export for the field action to do an admin-PIN check.
export { verifyPin };
export { logAlert };
// Re-exports removed — callers import from @/lib/water-log-pin and @/lib/water-log-audit directly.