From 24e14c78fd54671f7a34cd6aff71c7c48c2c7f28 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Fri, 25 Jul 2025 17:15:31 -0400 Subject: [PATCH] fix optional parameter in SkPatternText --- packages/frontend/src/components/SkPatternTest.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/SkPatternTest.vue b/packages/frontend/src/components/SkPatternTest.vue index 660b5d8a0a..4cf95d4696 100644 --- a/packages/frontend/src/components/SkPatternTest.vue +++ b/packages/frontend/src/components/SkPatternTest.vue @@ -31,14 +31,14 @@ import { parseMutes } from '@/utility/parse-mutes.js'; import { getMutedWords } from '@/utility/check-word-mute.js'; const props = defineProps<{ - mutedWords?: string | null, + mutedWords: string, }>(); const testWords = ref(null); const testMatches = ref(null); function testWordMutes() { - if (!testWords.value || !props.mutedWords) { + if (!testWords.value) { testMatches.value = null; return; }