Add dedicated home screen

This commit is contained in:
2024-12-28 21:27:10 +01:00
parent 2241b101aa
commit bf4361d207
3 changed files with 25 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ function PieceRow(props: PieceRow.Props) {
return (
<TableRow>
<TableCell>
<Link className="underline" to={`piece/${piece.pieceId}`}>{piece.name}</Link>
<Link className="underline" to={piece.pieceId}>{piece.name}</Link>
</TableCell>
<TableCell>
{...composerParts.flatMap((x, i, a) => i < a.length - 1 ? [x, <br />] : [x])}
@@ -183,7 +183,7 @@ function AddPieceDialogContent() {
return;
}
navigate(`piece/${data.pieceId}`);
navigate(data.pieceId);
} finally {
setIsLoading(false);
}