Skip to content

Commit

Permalink
Fixed linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
nerik committed Oct 12, 2023
1 parent 67c59e8 commit 8559362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/publication-tool/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Editor() {
}, [editorView, currentDataStory?.currentBlockId]);

const currentBlockId = useCurrentBlockId();
const setMDX = useSetBlockMDX(currentBlockId);
const setMDX = useSetBlockMDX(currentBlockId!);
const onEditorUpdated = useCallback(
(v) => {
if (v.docChanged) {
Expand Down

0 comments on commit 8559362

Please sign in to comment.