diff --git a/src/components/serverCard/serverCard.jsx b/src/components/serverCard/serverCard.jsx index 8362e8c..083fdef 100644 --- a/src/components/serverCard/serverCard.jsx +++ b/src/components/serverCard/serverCard.jsx @@ -3,7 +3,7 @@ import styles from './serverCard.module.scss'; import paper_mc from '../../assets/frameworks/paper_mc.png' -const ServerCard = ({ color, status, version, link, name, onRunClick, onStopClick, onDeleteClick }) => { +const ServerCard = ({status, version, link, name, onRunClick, onStopClick, onDeleteClick }) => { const getStatusColor = () => { switch (status) { @@ -47,9 +47,6 @@ const ServerCard = ({ color, status, version, link, name, onRunClick, onStopClic
- {status && ( - - )} {!status && ( )} diff --git a/src/pages/DashboardPage/DashboardPage.jsx b/src/pages/DashboardPage/DashboardPage.jsx index 7e9388b..c50e90e 100644 --- a/src/pages/DashboardPage/DashboardPage.jsx +++ b/src/pages/DashboardPage/DashboardPage.jsx @@ -80,7 +80,6 @@ const DashboardPage = ({ user }) => { servers.map((server, index) => (