Skip to content

Commit 10435f0

Browse files
committed
clean some stuff
1 parent abff1dc commit 10435f0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

backend/app.ts

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ function getContentSecurityPolicy(
174174
return policy + `connect-src ${connectSrcUrls.join(" ")} ;`;
175175
}
176176

177-
178177
function wsUrl(httpUrl: string): string {
179178
return httpUrl.replace("http://", "ws://");
180179
}

backend/message.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ type DeleteListener = () => boolean;
1717
type Connect = (
1818
updateListener: UpdateListenerMulti,
1919
serial: number,
20-
deleteListener?: DeleteListener,
2120
clearListener?: ClearListener,
21+
deleteListener?: DeleteListener,
2222
) => void;
2323

2424
export type WebXdcMulti = {

frontend/InstanceHeader.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, Show, createMemo, JSX, Accessor } from "solid-js";
22
import { Flex, Text, Badge, Tooltip, IconButton, notificationService } from "@hope-ui/solid";
33
import { IoRefreshOutline, IoStop, IoPlay } from "solid-icons/io";
4-
import { FiDelete, FiExternalLink, FiTrash } from "solid-icons/fi";
4+
import { FiExternalLink, FiTrash } from "solid-icons/fi";
55

66
import type { Instance as InstanceData } from "../types/instance";
77
import { sent, received, mutateInstances } from "./store";

0 commit comments

Comments
 (0)