fix: remove unused import

This commit is contained in:
Henrique Dias 2025-06-26 19:43:20 +02:00
parent c1e4fd648b
commit c232d41f90
No known key found for this signature in database

View File

@ -1,4 +1,3 @@
import { useAuthStore } from "@/stores/auth";
import { baseURL } from "@/utils/constants"; import { baseURL } from "@/utils/constants";
import { removePrefix } from "./utils"; import { removePrefix } from "./utils";
@ -11,8 +10,6 @@ export default function command(
onmessage: WebSocket["onmessage"], onmessage: WebSocket["onmessage"],
onclose: WebSocket["onclose"] onclose: WebSocket["onclose"]
) { ) {
const authStore = useAuthStore();
url = removePrefix(url); url = removePrefix(url);
url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`; url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;