mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-26 01:36:15 -04:00
fix(roman-converter): replaced incorrect default value
This commit is contained in:
parent
dab8d63390
commit
8787ce72ab
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ import { arabicToRoman, romanToArabic } from './roman-numeral-converter.service'
|
||||||
const inputNumeral = ref(42);
|
const inputNumeral = ref(42);
|
||||||
const outputRoman = computed(() => arabicToRoman(inputNumeral.value));
|
const outputRoman = computed(() => arabicToRoman(inputNumeral.value));
|
||||||
|
|
||||||
const inputRoman = ref('IVX');
|
const inputRoman = ref('XLII');
|
||||||
const outputNumeral = computed(() => romanToArabic(inputRoman.value));
|
const outputNumeral = computed(() => romanToArabic(inputRoman.value));
|
||||||
|
|
||||||
const { copy: copyRoman } = useCopy({ source: outputRoman, text: 'Roman number copied to the clipboard' });
|
const { copy: copyRoman } = useCopy({ source: outputRoman, text: 'Roman number copied to the clipboard' });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue