Skip to content

Commit

Permalink
fix: removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Nov 22, 2023
1 parent f91a80b commit a1169ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebSocketClient/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const createUrl = (hostname: string, port: number, path: string, searchParams: R

const createWebSocket = (url: string): WebSocket => {
const webSocket = new WebSocket(url);
webSocket.onerror = (x) => {
webSocket.onerror = () => {
if(connectionText){
connectionText.textContent = "Could not connect to language server. Reconnecting ...";
}
Expand Down

0 comments on commit a1169ba

Please sign in to comment.