aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RTFMarkup.tsx
diff options
context:
space:
mode:
authoreleanor-park <eleanor_park@brown.edu>2024-08-27 16:44:12 -0400
committereleanor-park <eleanor_park@brown.edu>2024-08-27 16:44:12 -0400
commit39d2bba7bf4b0cc3759931691640083a48cce662 (patch)
tree8bf110760aa926237b6294aec545f48cfc92747d /src/client/util/RTFMarkup.tsx
parent6f73686ec4dc3e01ae3eacc0150aa59eafea0325 (diff)
parentb8a04a0fedf8ef3612395764a0ecd01f6824ebd1 (diff)
Merge branch 'master' into eleanor-gptdraw
Diffstat (limited to 'src/client/util/RTFMarkup.tsx')
-rw-r--r--src/client/util/RTFMarkup.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/RTFMarkup.tsx b/src/client/util/RTFMarkup.tsx
index a07ad2047..a01b64eda 100644
--- a/src/client/util/RTFMarkup.tsx
+++ b/src/client/util/RTFMarkup.tsx
@@ -5,7 +5,7 @@ import { MainViewModal } from '../views/MainViewModal';
import { SnappingManager } from './SnappingManager';
@observer
-export class RTFMarkup extends React.Component<{}> {
+export class RTFMarkup extends React.Component<object> {
// eslint-disable-next-line no-use-before-define
static Instance: RTFMarkup;
@observable private isOpen = false; // whether the SharingManager modal is open or not
@@ -14,7 +14,7 @@ export class RTFMarkup extends React.Component<{}> {
this.isOpen = status;
});
- constructor(props: {}) {
+ constructor(props: object) {
super(props);
makeObservable(this);
RTFMarkup.Instance = this;