Skip to content

Commit

Permalink
fix(ui): Remove confusing state timestamp from NTPConnectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Dec 12, 2022
1 parent 4335266 commit 692085e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/src/settings/connectivity/NTPConnectivity.tsx
Expand Up @@ -6,7 +6,6 @@ import {
Grid,
TextField,
Typography,
useTheme
} from "@mui/material";
import React from "react";
import {
Expand Down Expand Up @@ -34,8 +33,6 @@ const NTPClientStateComponent : React.FunctionComponent<{ state: NTPClientState
stateLoading,
stateError
}) => {
const theme = useTheme();

if (stateLoading || !state) {
return (
<LoadingFade/>
Expand Down Expand Up @@ -103,13 +100,6 @@ const NTPClientStateComponent : React.FunctionComponent<{ state: NTPClientState
}}
>
{getContentForState()}

<Typography
variant="subtitle2"
style={{marginTop: "1rem", color: theme.palette.grey[theme.palette.mode === "light" ? 400 : 700]}}
>
{state.timestamp}
</Typography>
</Grid>
</Grid>
</>
Expand Down

0 comments on commit 692085e

Please sign in to comment.