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';
4
4
5
5
import { Box , Text } from '@/components' ;
6
6
import { useCunninghamTheme } from '@/cunningham' ;
7
- import { Doc , getEmojiAndTitle , useTrans } from '@/docs/doc-management' ;
7
+ import { Doc , useTrans } from '@/docs/doc-management' ;
8
8
import { useResponsiveStore } from '@/stores' ;
9
9
10
10
import PinnedDocumentIcon from '../assets/pinned-document.svg' ;
@@ -38,10 +38,6 @@ export const SimpleDocItem = ({
38
38
const { isDesktop } = useResponsiveStore ( ) ;
39
39
const { untitledDocument } = useTrans ( ) ;
40
40
41
- const { emoji, titleWithoutEmoji : displayTitle } = getEmojiAndTitle (
42
- doc . title || untitledDocument ,
43
- ) ;
44
-
45
41
return (
46
42
< Box
47
43
$direction = "row"
@@ -68,7 +64,6 @@ export const SimpleDocItem = ({
68
64
/>
69
65
) : (
70
66
< DocIcon
71
- emoji = { emoji }
72
67
defaultIcon = {
73
68
< SimpleFileIcon
74
69
aria-hidden = "true"
@@ -88,7 +83,7 @@ export const SimpleDocItem = ({
88
83
$css = { ItemTextCss }
89
84
data-testid = "doc-title"
90
85
>
91
- { displayTitle }
86
+ { doc . title || untitledDocument }
92
87
</ Text >
93
88
{ ( ! isDesktop || showAccesses ) && (
94
89
< Box
You can’t perform that action at this time.
0 commit comments