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 { interface TemplateDetailProps {
params: { id: string }; params: { id: string };
} }
export function TemplateDetail({ params }: TemplateDetailProps) { export default function TemplateDetail({ params }: TemplateDetailProps) {
const { data, isLoading } = useListMachines(); const { data, isLoading } = useListMachines();
console.log({ data, isLoading }); console.log({ data, isLoading });
const details = getTemplate(params); const details = getTemplate(params);

View File

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