fix watching channel changing

This commit is contained in:
Max Leiter 2022-05-30 21:15:39 -07:00
parent a1659e1c02
commit 314ff7774b
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -229,9 +229,12 @@ export default defineComponent({
});
};
watch(props.channel, () => {
channelChanged();
});
watch(
() => props.channel,
() => {
channelChanged();
}
);
const editTopicRef = ref(props.channel.editTopic);
watch(editTopicRef, (newTopic) => {