chore: Provide type for toggleReaction

This commit is contained in:
Michcio 2022-09-14 15:13:32 +02:00
parent f1775debb5
commit 93d81bd695
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const buttonRef = ref<HTMLElement>();
const canToggle = computed(() => !props.reaction.match(/@\w/) && $i);
const toggleReaction = () => {
const toggleReaction = (): void => {
if (!canToggle.value) return;
const oldReaction = props.note.myReaction;