mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -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 = () => {
|
export const DocumentInfobar: React.FC = () => {
|
||||||
const noteDetails = useApplicationState((state) => state.noteDetails)
|
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')
|
const linkTitle = useTranslatedText('views.readOnly.editNote')
|
||||||
|
|
||||||
if (noteDetails === null) {
|
if (noteDetails === null) {
|
||||||
|
|
|
@ -18,8 +18,6 @@ export const DocumentReadOnlyPageContent: React.FC = () => {
|
||||||
useTranslation()
|
useTranslation()
|
||||||
|
|
||||||
const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter()
|
const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter()
|
||||||
|
|
||||||
// TODO Change todo values with real ones as soon as the backend is ready.
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<DocumentInfobar />
|
<DocumentInfobar />
|
||||||
|
|
|
@ -40,7 +40,6 @@ export const ExportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
|
||||||
const onClickHandler = useCallback(() => {
|
const onClickHandler = useCallback(() => {
|
||||||
onClick(menuId)
|
onClick(menuId)
|
||||||
}, [menuId, onClick])
|
}, [menuId, onClick])
|
||||||
//todo: replace git with gitlab icon
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<SidebarButton
|
<SidebarButton
|
||||||
|
|
|
@ -40,7 +40,6 @@ export const ImportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
|
||||||
const onClickHandler = useCallback(() => {
|
const onClickHandler = useCallback(() => {
|
||||||
onClick(menuId)
|
onClick(menuId)
|
||||||
}, [menuId, onClick])
|
}, [menuId, onClick])
|
||||||
//todo: replace git with gitlab
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<SidebarButton
|
<SidebarButton
|
||||||
|
|
Loading…
Reference in a new issue