From 99dd69f3135115f385d0e89e229f5118e6b11c18 Mon Sep 17 00:00:00 2001 From: Level128 <30358400+Level128@users.noreply.github.com> Date: Thu, 13 Jul 2023 06:24:12 -0500 Subject: [PATCH] Fix socket.io-client import --- frontend/src/components/Dashboard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Dashboard.vue b/frontend/src/components/Dashboard.vue index ffdbab23..5dccb2ea 100644 --- a/frontend/src/components/Dashboard.vue +++ b/frontend/src/components/Dashboard.vue @@ -360,7 +360,8 @@ import Setting from "./setting/Setting.vue"; import CallView from "@/components/CallView.vue"; import CheckDir from "@/components/CheckDir.vue"; import { EventBus } from "@/event-bus"; -const io = require("socket.io-client"); +// const io = require("socket.io-client"); +import { io } from "socket.io-client"; export default { name: "dashboard", components: {