Remove fixed TODOs

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2023-10-07 14:00:20 +02:00 committed by David Mehren
parent 04d16a1141
commit 040d473b62
4 changed files with 0 additions and 6 deletions

View file

@ -19,8 +19,6 @@ import { Trans } from 'react-i18next'
*/
export const DocumentInfobar: React.FC = () => {
const noteDetails = useApplicationState((state) => state.noteDetails)
// TODO Check permissions ("writability") of note and show edit link depending on that.
const linkTitle = useTranslatedText('views.readOnly.editNote')
if (noteDetails === null) {

View file

@ -18,8 +18,6 @@ export const DocumentReadOnlyPageContent: React.FC = () => {
useTranslation()
const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter()
// TODO Change todo values with real ones as soon as the backend is ready.
return (
<Fragment>
<DocumentInfobar />

View file

@ -40,7 +40,6 @@ export const ExportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
const onClickHandler = useCallback(() => {
onClick(menuId)
}, [menuId, onClick])
//todo: replace git with gitlab icon
return (
<Fragment>
<SidebarButton

View file

@ -40,7 +40,6 @@ export const ImportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
const onClickHandler = useCallback(() => {
onClick(menuId)
}, [menuId, onClick])
//todo: replace git with gitlab
return (
<Fragment>
<SidebarButton