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"
@@ -68,7 +64,6 @@ export const SimpleDocItem = ({
6864 />
6965 ) : (
7066 < DocIcon
71- emoji = { emoji }
7267 defaultIcon = {
7368 < SimpleFileIcon
7469 aria-hidden = "true"
@@ -88,7 +83,7 @@ export const SimpleDocItem = ({
8883 $css = { ItemTextCss }
8984 data-testid = "doc-title"
9085 >
91- { displayTitle }
86+ { doc . title || untitledDocument }
9287 </ Text >
9388 { ( ! isDesktop || showAccesses ) && (
9489 < Box
You can’t perform that action at this time.
0 commit comments