From 4ca5fce911c3312d56bca1ffba863b2f37841c9e Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Mon, 4 Apr 2022 00:39:20 +0200 Subject: [PATCH] fix(hash-text): added missing toString() --- src/tools/hash-text/hash-text.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/hash-text/hash-text.vue b/src/tools/hash-text/hash-text.vue index 30a97b80..45364a33 100644 --- a/src/tools/hash-text/hash-text.vue +++ b/src/tools/hash-text/hash-text.vue @@ -17,7 +17,7 @@
algos[algo.value](clearText.value)) +const clearText = ref('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lacus metus blandit dolor lacus natoque ad fusce aliquam velit.') const algo = ref('SHA256') +const hashedText = computed(() => algos[algo.value](clearText.value).toString()) const { copy } = useCopy({ source: hashedText, text: 'Token copied to the clipboard' })