File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import React, { useEffect } from "react";
4
4
import { useNavigate } from "react-router-dom" ;
5
5
import { ReactComponent as ServerIcon } from "assets/svg/server.svg" ;
6
6
import LoadingContent from "common/LoadingContent" ;
7
- import ThemeConfig , { theme } from "ThemeConfig" ;
8
- import useSocket from "hooks/useSocket" ;
7
+ import ThemeConfig from "ThemeConfig" ;
9
8
import { ServerGroupedByHostResponseType } from "./ServerType" ;
10
9
import AppHeader from "AppHeader" ;
11
10
@@ -35,7 +34,7 @@ export default function ServerList({
35
34
< Grid container spacing = { 2 } my = { 10 } >
36
35
{ Object . keys ( serversGroupedByHost ) ?. map (
37
36
( serverHost : string , index : number ) => (
38
- < Grid item xs = { 12 } md = { 6 } >
37
+ < Grid item xs = { 12 } md = { 6 } key = { index } >
39
38
< Card
40
39
key = { index }
41
40
style = { { background : ThemeConfig . palette . primary . light } }
You can’t perform that action at this time.
0 commit comments