style: apply linter suggestions

This commit is contained in:
Edouard Vanbelle
2026-04-07 22:50:42 +02:00
parent 1ce29c101d
commit a4266a6e93
33 changed files with 444 additions and 437 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ function getCsrfToken() {
return match ? match.split('=')[1] : '';
}
// eslint-disable-next-line no-unused-vars
// biome-ignore lint/correctness/noUnusedVariables: global function
function getCsrfHeaders() {
const token = getCsrfToken();
return token ? { 'X-CSRF-Token': token } : {};