Skip to content

Commit

Permalink
Hide latency values on Turn 0
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanvugt committed Jul 2, 2021
1 parent b9ec946 commit fb74c09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ const Author = styled("span")(({ theme }) => ({
const Latency = styled("span")(({ theme, latency }) => ({
color: latency === "0" ? "red" : "inherit",
marginLeft: "auto",
textShadow: theme === themes.dark ? "0 1px 2px rgba(0,0,0,0.90)" : null
textShadow: theme === themes.dark ? "0 1px 2px rgba(0,0,0,0.90)" : null,
display: latency === "" ? "none" : "block"
}));

const HealthBarWrapper = styled("div")({
Expand Down

0 comments on commit fb74c09

Please sign in to comment.