generated from Luis/nextjs-python-web-template
apply prettier to source tree
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ import { StrictMode } from "react";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<StrictMode>
|
||||
<StrictMode>
|
||||
<NodeList tableData={tableData} />
|
||||
</StrictMode>
|
||||
</StrictMode>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user