Skip to content

Commit

Permalink
docs: Default blocks example fix (#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlipski authored Jan 28, 2025
1 parent eefb4a1 commit b4b3cd7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions examples/01-basic/04-default-blocks/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,5 @@ export default function App() {
});

// Renders the editor instance using a React component.
return (
<div
style={{
height: "50vh",
overflow: "scroll",
}}>
<BlockNoteView editor={editor} />
</div>
);
return <BlockNoteView editor={editor} />;
}

0 comments on commit b4b3cd7

Please sign in to comment.