apply prettier to source tree

This commit is contained in:
Jörg Thalheim
2023-08-24 14:12:17 +02:00
parent dbc0ae08c0
commit 4d183fff58
9 changed files with 24 additions and 40 deletions

View File

@@ -140,7 +140,7 @@ function CrudSpeedDial(props: { selected: string | undefined }) {
function editDial() {
if (isSomethingSelected) {
return (
<Link href="/nodes/edit" style={{marginTop: 7.5}}>
<Link href="/nodes/edit" style={{ marginTop: 7.5 }}>
<EditIcon color="action" />
</Link>
);
@@ -173,7 +173,7 @@ function CrudSpeedDial(props: { selected: string | undefined }) {
<SpeedDialAction
key="Add"
icon={
<Link href="/nodes/add" style={{marginTop: 7.5}}>
<Link href="/nodes/add" style={{ marginTop: 7.5 }}>
<AddIcon color="action" />
</Link>
}

View File

@@ -8,8 +8,8 @@ import { StrictMode } from "react";
export default function Page() {
return (
<StrictMode>
<StrictMode>
<NodeList tableData={tableData} />
</StrictMode>
</StrictMode>
);
}

View File

@@ -9,9 +9,9 @@ export const NodeStatus = {
Online: "Online",
Offline: "Offline",
Pending: "Pending",
}
};
export type NodeStatusKeys = typeof NodeStatus[keyof typeof NodeStatus];
export type NodeStatusKeys = (typeof NodeStatus)[keyof typeof NodeStatus];
function createData(
name: string,