chore: Provide type for toggleReaction
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Michcio 2022-09-14 15:13:32 +02:00 committed by Johann150
parent d725f93d40
commit e27494cf3e
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

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;