fix(frontend): remove parenthesis around •

This was the way it was in HedgeDoc 1. It was deemed to be better than the parenthesis version in a debug session.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2023-05-07 22:22:05 +02:00 committed by Tilman Vatteroth
parent 340adbe69a
commit 757345d318

View file

@ -18,7 +18,7 @@ export const NoteAndAppTitleHead: React.FC = () => {
const showDot = useHasMarkdownContentBeenChangedInBackground() const showDot = useHasMarkdownContentBeenChangedInBackground()
const noteAndAppTitle = useMemo(() => { const noteAndAppTitle = useMemo(() => {
return (showDot ? '(•) ' : '') + noteTitle + ' - ' + appTitle return (showDot ? ' ' : '') + noteTitle + ' - ' + appTitle
}, [appTitle, noteTitle, showDot]) }, [appTitle, noteTitle, showDot])
return ( return (