fix some minor errors
All checks were successful
build / test (pull_request) Successful in 1m4s

This commit is contained in:
Johannes Kirschbauer 2023-08-26 15:55:03 +02:00
parent 337f6e4600
commit 592cf867e5
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ function getTemplate(params: { id: string }) {
interface TemplateDetailProps {
params: { id: string };
}
export function TemplateDetail({ params }: TemplateDetailProps) {
export default function TemplateDetail({ params }: TemplateDetailProps) {
const { data, isLoading } = useListMachines();
console.log({ data, isLoading });
const details = getTemplate(params);

View File

@ -108,7 +108,7 @@ export function NodeRow(props: {
<TableCell
component="th"
scope="row"
onClick={(event) => handleClick(event, row.id)}
onClick={(event) => handleClick(event, row.name)}
>
<Stack>
<Typography component="div" align="left" variant="body1">
@ -120,7 +120,7 @@ export function NodeRow(props: {
align="left"
variant="body2"
>
{row.id}
{row.name}
</Typography>
</Stack>
</TableCell>