Skip to content

Commit

Permalink
fix(url-encoder, validation): typo in validation of url-encoder.vue C…
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgordon authored Apr 29, 2024
1 parent 9eac9cb commit cb5b462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/url-encoder/url-encoder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const decodeInput = ref('Hello%20world%20%3A)');
const decodeOutput = computed(() => withDefaultOnError(() => decodeURIComponent(decodeInput.value), ''));
const decodeValidation = useValidation({
source: encodeInput,
source: decodeInput,
rules: [
{
validator: value => isNotThrowing(() => decodeURIComponent(value)),
Expand Down

0 comments on commit cb5b462

Please sign in to comment.