fix
This commit is contained in:
+1
-6
@@ -1,9 +1,4 @@
|
|||||||
import {
|
import { getHTTPUrl, getServerList, ServerList } from "@/lib/serverList";
|
||||||
getHostname,
|
|
||||||
getHTTPUrl,
|
|
||||||
getServerList,
|
|
||||||
ServerList,
|
|
||||||
} from "@/lib/serverList";
|
|
||||||
import EnclaveServer from "./server";
|
import EnclaveServer from "./server";
|
||||||
import * as ed from "@noble/ed25519";
|
import * as ed from "@noble/ed25519";
|
||||||
import { sha512 } from "@noble/hashes/sha2.js";
|
import { sha512 } from "@noble/hashes/sha2.js";
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export default function ServerList({
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
src={getHTTPUrl(hostname, server.isSecure, "/icon")}
|
src={getHTTPUrl(hostname, server.isSecure, "/icon")}
|
||||||
|
key={hostname}
|
||||||
className={
|
className={
|
||||||
server.publicKey === appRef.current?.server?.hostname
|
server.publicKey === appRef.current?.server?.hostname
|
||||||
? "rounded-lg"
|
? "rounded-lg"
|
||||||
|
|||||||
Reference in New Issue
Block a user