diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-03 16:21:52 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-03 16:21:52 -0500 |
| commit | c654a31fdb48a76fb4b0562168c920ca850a7b9e (patch) | |
| tree | 76410a9da12919e35f49d3d1f3899856fb0584ce /src/client/views/nodes/formattedText/SummaryView.tsx | |
| parent | 23f789ab0bc9947f1bd23816183df2b5cc89b0e6 (diff) | |
cleaned up warnings and errors, working with typescript 20.10
Diffstat (limited to 'src/client/views/nodes/formattedText/SummaryView.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/SummaryView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/SummaryView.tsx b/src/client/views/nodes/formattedText/SummaryView.tsx index 3355e4529..7ec296ed2 100644 --- a/src/client/views/nodes/formattedText/SummaryView.tsx +++ b/src/client/views/nodes/formattedText/SummaryView.tsx @@ -1,7 +1,7 @@ import { TextSelection } from 'prosemirror-state'; import { Fragment, Node, Slice } from 'prosemirror-model'; import * as ReactDOM from 'react-dom/client'; -import React = require('react'); +import * as React from 'react'; // an elidable textblock that collapses when its '<-' is clicked and expands when its '...' anchor is clicked. // this node actively edits prosemirror (as opposed to just changing how things are rendered) and thus doesn't |
