mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Remove fixed TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
04d16a1141
commit
040d473b62
4 changed files with 0 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue