Prettified Code!

This commit is contained in:
ethanweber authored and GitHub Action committed 2022-09-06 07:37:10 +00:00
1 parent 4c77c4e7c0
commit 95884a7f95
11 files changed
+23 -25

No files matched your search

@@ -4,13 +4,11 @@ import Button from '@mui/material/Button';
import { useSelector } from 'react-redux';
import WebSocketUrlField from '../../WebSocketUrlField';
interface StatusPanelProps {
sceneTree: object
sceneTree: object;
}
export default function StatusPanel(props: StatusPanelProps) {
const sceneTree = props.sceneTree;
const isWebsocketConnected = useSelector(
@@ -30,7 +28,7 @@ export default function StatusPanel(props: StatusPanelProps) {
const handleChange = () => {
setValue(!value);
};
const scene_button = value ? "Hide Scene" : "Show Scene";
const scene_button = value ? 'Hide Scene' : 'Show Scene';
sceneTree.object.visible = value;
return (