about summary refs log tree commit diff stats
path: root/frontend
diff options
context:
space:
mode:
authorAlan Pearce2024-05-05 18:03:39 +0200
committerAlan Pearce2024-05-05 18:03:39 +0200
commitc689cf5d0c8f6c62fb21c300cec187305d8262d9 (patch)
treeb3704ee9a5df09afb46554052ed324354d560f92 /frontend
parentc0ae685af1764d9588b1fcd8de40d0cbde48d1ea (diff)
downloadsearchix-c689cf5d0c8f6c62fb21c300cec187305d8262d9.tar.lz
searchix-c689cf5d0c8f6c62fb21c300cec187305d8262d9.tar.zst
searchix-c689cf5d0c8f6c62fb21c300cec187305d8262d9.zip
style: remove unused variable
Diffstat (limited to 'frontend')
-rw-r--r--frontend/static/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/static/search.js b/frontend/static/search.js
index 5bbc374..0388942 100644
--- a/frontend/static/search.js
+++ b/frontend/static/search.js
@@ -8,7 +8,7 @@ let state = history.state || {
 let escapePolicy = null;
 if (window.trustedTypes && trustedTypes.createPolicy) {
   escapePolicy = trustedTypes.createPolicy("fetch", {
-    createHTML: (string, sink) => string,
+    createHTML: (string) => string,
   });
 }