fix(frontend): 通知が重複して受信される問題を修正 (MisskeyIO#504)
This commit is contained in:
parent
8169fe4e73
commit
5739f5efc2
|
@ -86,9 +86,6 @@ onMounted(() => {
|
||||||
|
|
||||||
onActivated(() => {
|
onActivated(() => {
|
||||||
pagingComponent.value?.reload();
|
pagingComponent.value?.reload();
|
||||||
connection = useStream().useChannel('main');
|
|
||||||
connection.on('notification', onNotification);
|
|
||||||
connection.on('notificationFlushed', reload);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
|
|
Loading…
Reference in New Issue