Skip to content

Commit

Permalink
prettier and remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
rawxfish committed Dec 19, 2024
1 parent 561da10 commit 9d3f63f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions hunts/src/NameCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ const LastActive = ({ last_edited_on }) => {
const PuzzleTitle = ({ name, last_edited_on, is_solved }) => {
return (
<>
{last_edited_on && !is_solved && <LastActive last_edited_on={last_edited_on} />}{" "}
{last_edited_on && !is_solved && (
<>
<LastActive last_edited_on={last_edited_on} />{" "}
</>
)}
<b>{name}</b>
</>
);
Expand Down Expand Up @@ -107,15 +111,15 @@ export default function NameCell({ row, value }) {
<PuzzleTitle
name={value}
last_edited_on={row.values.last_edited_on}
is_solved={row.values.status === "SOLVED" }
is_solved={row.values.status === "SOLVED"}
></PuzzleTitle>
</span>
) : (
<span>
<PuzzleTitle
name={value}
last_edited_on={row.values.last_edited_on}
is_solved={row.values.status === "SOLVED" }
is_solved={row.values.status === "SOLVED"}
></PuzzleTitle>
</span>
)}{" "}
Expand Down

0 comments on commit 9d3f63f

Please sign in to comment.