From a555303c34ec2ac79084100bdf21f9d88dba86b1 Mon Sep 17 00:00:00 2001
From: brynnchernosky <56202540+brynnchernosky@users.noreply.github.com>
Date: Thu, 26 Jan 2023 22:15:06 -0500
Subject: add option to colon menu

---
 src/client/views/nodes/PhysicsSimulationBox.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'src/client/views/nodes/PhysicsSimulationBox.tsx')

diff --git a/src/client/views/nodes/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsSimulationBox.tsx
index b62caf926..568a5b40c 100644
--- a/src/client/views/nodes/PhysicsSimulationBox.tsx
+++ b/src/client/views/nodes/PhysicsSimulationBox.tsx
@@ -1,8 +1,10 @@
 import "./PhysicsSimulationBox.scss";
 import { FieldView, FieldViewProps } from './FieldView';
 import React = require('react');
-
-export default class PhysicsSimulationBox extends React.Component<FieldViewProps> {
+import { ViewBoxAnnotatableComponent } from '../DocComponent';
+import { observer } from 'mobx-react';
+@observer
+export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
  public static LayoutString(fieldKey: string) { return FieldView.LayoutString(PhysicsSimulationBox, fieldKey); }
 
  render () { return (<p>Hello world!</p>)}
-- 
cgit v1.2.3-70-g09d2

