Add dedicated home screen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user