Canvas: Prettier
Change-Id: I620dde109df0f29f0c85c6fe150e347d2c32a03e
diff --git a/apps/canvas/front/src/components/node-details.tsx b/apps/canvas/front/src/components/node-details.tsx
index ba629c5..2cbc317 100644
--- a/apps/canvas/front/src/components/node-details.tsx
+++ b/apps/canvas/front/src/components/node-details.tsx
@@ -7,15 +7,23 @@
import { NodeGithubDetails } from "./node-github";
import { NodeGatewayTCPDetails } from "./node-gateway-tcp";
-export function NodeDetails(props : AppNode) {
- switch (props.type) {
- case "app": return (<NodeAppDetails {...props} />);
- case "gateway-https": return (<NodeGatewayHttpsDetails {...props} />);
- case "gateway-tcp": return (<NodeGatewayTCPDetails {...props} />);
- case "volume": return (<NodeVolumeDetails {...props} />);
- case "postgresql": return (<NodePostgreSQLDetails {...props} />);
- case "mongodb": return (<NodeMongoDBDetails {...props} />);
- case "github": return (<NodeGithubDetails {...props} />)
- default: return (<>nooo</>);
- }
-}
\ No newline at end of file
+export function NodeDetails(props: AppNode) {
+ switch (props.type) {
+ case "app":
+ return <NodeAppDetails {...props} />;
+ case "gateway-https":
+ return <NodeGatewayHttpsDetails {...props} />;
+ case "gateway-tcp":
+ return <NodeGatewayTCPDetails {...props} />;
+ case "volume":
+ return <NodeVolumeDetails {...props} />;
+ case "postgresql":
+ return <NodePostgreSQLDetails {...props} />;
+ case "mongodb":
+ return <NodeMongoDBDetails {...props} />;
+ case "github":
+ return <NodeGithubDetails {...props} />;
+ default:
+ return <>nooo</>;
+ }
+}