about summary refs log tree commit diff stats
path: root/src/pages/options/index.js
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-05-20 13:57:31 +0300
committerManeraKai <manerakai@protonmail.com>2024-05-20 13:57:31 +0300
commit9d750897ec4b36766ca876549c0af31746f9c05b (patch)
tree91942ab1ab52ce8138297746ad75bcb24c3a2bab /src/pages/options/index.js
parentFixed bug. 2.8.3 => 2.8.4 (diff)
downloadlibredirect-9d750897ec4b36766ca876549c0af31746f9c05b.zip
Cleaning code
Diffstat (limited to 'src/pages/options/index.js')
-rw-r--r--src/pages/options/index.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pages/options/index.js b/src/pages/options/index.js
index fcc51298..ec47f3c5 100644
--- a/src/pages/options/index.js
+++ b/src/pages/options/index.js
@@ -260,7 +260,7 @@ async function processCustomInstances(frontend, document) {
 /**
  * @param {string} frontend
  * @param {*} networks
- * @param {*} document
+ * @param {Document} document
  * @param {*} redirects
  * @param {*} blacklist
  */
@@ -393,7 +393,5 @@ function processTime(time) {
 		color = "red"
 		text = 'Server not found'
 	}
-	return {
-		color, text
-	}
+	return { color, text }
 }