aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/DashDocCommentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-03 16:21:52 -0500
committerbobzel <zzzman@gmail.com>2023-12-03 16:21:52 -0500
commitc654a31fdb48a76fb4b0562168c920ca850a7b9e (patch)
tree76410a9da12919e35f49d3d1f3899856fb0584ce /src/client/views/nodes/formattedText/DashDocCommentView.tsx
parent23f789ab0bc9947f1bd23816183df2b5cc89b0e6 (diff)
cleaned up warnings and errors, working with typescript 20.10
Diffstat (limited to 'src/client/views/nodes/formattedText/DashDocCommentView.tsx')
-rw-r--r--src/client/views/nodes/formattedText/DashDocCommentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/DashDocCommentView.tsx b/src/client/views/nodes/formattedText/DashDocCommentView.tsx
index aa269d8d6..d6b053c8e 100644
--- a/src/client/views/nodes/formattedText/DashDocCommentView.tsx
+++ b/src/client/views/nodes/formattedText/DashDocCommentView.tsx
@@ -2,7 +2,7 @@ import { TextSelection } from 'prosemirror-state';
import * as ReactDOM from 'react-dom/client';
import { Doc } from '../../../../fields/Doc';
import { DocServer } from '../../../DocServer';
-import React = require('react');
+import * as React from 'react';
// creates an inline comment in a note when '>>' is typed.
// the comment sits on the right side of the note and vertically aligns with its anchor in the text.