File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/frontend/apps/impress/src/features/docs/doc-management/components Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { css } from 'styled-components';
44
55import { Box , Text } from '@/components' ;
66import { useCunninghamTheme } from '@/cunningham' ;
7- import { Doc , getEmojiAndTitle , useTrans } from '@/docs/doc-management' ;
7+ import { Doc , useTrans } from '@/docs/doc-management' ;
88import { useResponsiveStore } from '@/stores' ;
99
1010import PinnedDocumentIcon from '../assets/pinned-document.svg' ;
@@ -38,10 +38,6 @@ export const SimpleDocItem = ({
3838 const { isDesktop } = useResponsiveStore ( ) ;
3939 const { untitledDocument } = useTrans ( ) ;
4040
41- const { emoji, titleWithoutEmoji : displayTitle } = getEmojiAndTitle (
42- doc . title || untitledDocument ,
43- ) ;
44-
4541 return (
4642 < Box
4743 $direction = "row"
@@ -71,7 +67,6 @@ export const SimpleDocItem = ({
7167 />
7268 ) : (
7369 < DocIcon
74- emoji = { emoji }
7570 defaultIcon = {
7671 < SimpleFileIcon
7772 aria-hidden = "true"
@@ -91,7 +86,7 @@ export const SimpleDocItem = ({
9186 $css = { ItemTextCss }
9287 data-testid = "doc-title"
9388 >
94- { displayTitle }
89+ { doc . title || untitledDocument }
9590 </ Text >
9691 { ( ! isDesktop || showAccesses ) && (
9792 < Box
You can’t perform that action at this time.
0 commit comments