mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-29 15:52:19 +00:00
Remove redundant first headline extraction hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
92e86c3564
commit
ed76d5307b
1 changed files with 0 additions and 2 deletions
|
@ -49,8 +49,6 @@ export const SlideshowMarkdownRenderer: React.FC<SlideshowMarkdownRendererProps
|
|||
const markdownReactDom = useConvertMarkdownToReactDom(markdownContentLines, extensions, newlinesAreBreaks)
|
||||
const revealStatus = useReveal(markdownContentLines, slideOptions)
|
||||
|
||||
useExtractFirstHeadline(markdownBodyRef, onFirstHeadingChange)
|
||||
|
||||
const extractFirstHeadline = useExtractFirstHeadline(markdownBodyRef, onFirstHeadingChange)
|
||||
useEffect(() => {
|
||||
if (revealStatus === REVEAL_STATUS.INITIALISED) {
|
||||
|
|
Loading…
Reference in a new issue