From e9cc499ed87ba926086323223c7eca4f6658b3f0 Mon Sep 17 00:00:00 2001 From: Evo Stamatov Date: Thu, 12 May 2022 00:29:55 +1000 Subject: [PATCH] feat(hash-text): compute all hashes at the same time (#242) * compute all hashes at the same time instead of using a select * add prettier config * Revert "add prettier config" This reverts commit fd374ff6fdd1c91500791e18c5cce0414b08b1c9. Prettier config is in `.eslintrc.cjs`. Should run the lint script or should use ESLint's VS Code extension. * fix: address requested changes - rename hashedText to hashText since it's a function and no longer a variable - rename to list to algoNames - rename to type to AlgoName removed unused import * revert back to allow empty value to be hashed; lint --- src/tools/hash-text/hash-text.vue | 41 +++++++++++-------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/src/tools/hash-text/hash-text.vue b/src/tools/hash-text/hash-text.vue index 10f22b79..9d9332fb 100644 --- a/src/tools/hash-text/hash-text.vue +++ b/src/tools/hash-text/hash-text.vue @@ -2,35 +2,22 @@
-
-
- -
- -
-
- - Copy - + + +
+ + {{ algo }} + + +