
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
8 lines
206 B
TypeScript
8 lines
206 B
TypeScript
import socket from "../socket";
|
|
import {store} from "../store";
|
|
import {ClientMention} from "../types";
|
|
|
|
socket.on("mentions:list", function (data) {
|
|
store.commit("mentions", data as ClientMention[]);
|
|
});
|