From c232d41f903d3026ec290bbe819b6c59a933048e Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 26 Jun 2025 19:43:20 +0200 Subject: [PATCH] fix: remove unused import --- frontend/src/api/commands.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/api/commands.ts b/frontend/src/api/commands.ts index d29ac1cb..81dc93cd 100644 --- a/frontend/src/api/commands.ts +++ b/frontend/src/api/commands.ts @@ -1,4 +1,3 @@ -import { useAuthStore } from "@/stores/auth"; import { baseURL } from "@/utils/constants"; import { removePrefix } from "./utils"; @@ -11,8 +10,6 @@ export default function command( onmessage: WebSocket["onmessage"], onclose: WebSocket["onclose"] ) { - const authStore = useAuthStore(); - url = removePrefix(url); url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;