@@ -9,7 +9,7 @@ import { useSnackbar } from 'notistack'
9
9
import { useState } from 'react'
10
10
11
11
export const ShiftEnterToSend = ( { t } ) => (
12
- < Box display = "flex" alignItems = "center" gap = { 0.5 } >
12
+ < Box display = "flex" alignItems = "center" gap = { 0.5 } component = "span" >
13
13
< strong > { t ( 'sendPreferenceConfigurator:shift' ) } </ strong >
14
14
< ArrowUpward fontSize = "small" /> + < strong > { t ( 'sendPreferenceConfigurator:return' ) } </ strong >
15
15
< KeyboardReturn fontSize = "small" />
@@ -18,15 +18,15 @@ export const ShiftEnterToSend = ({ t }) => (
18
18
)
19
19
20
20
export const EnterToSend = ( { t } ) => (
21
- < Box display = "flex" alignItems = "center" gap = { 0.5 } >
21
+ < Box display = "flex" alignItems = "center" gap = { 0.5 } component = "span" >
22
22
< strong > { t ( 'sendPreferenceConfigurator:return' ) } </ strong >
23
23
< KeyboardReturn fontSize = "small" />
24
24
{ t ( 'sendPreferenceConfigurator:toSend' ) }
25
25
</ Box >
26
26
)
27
27
28
28
export const ShiftEnterForNewline = ( { t } ) => (
29
- < Box display = "flex" alignItems = "center" gap = { 0.5 } >
29
+ < Box display = "flex" alignItems = "center" gap = { 0.5 } component = "span" >
30
30
< strong > { t ( 'sendPreferenceConfigurator:shift' ) } </ strong >
31
31
< ArrowUpward fontSize = "small" /> + < strong > { t ( 'sendPreferenceConfigurator:return' ) } </ strong >
32
32
< KeyboardReturn fontSize = "small" />
@@ -35,7 +35,7 @@ export const ShiftEnterForNewline = ({ t }) => (
35
35
)
36
36
37
37
export const EnterForNewline = ( { t } ) => (
38
- < Box display = "flex" alignItems = "center" gap = { 0.5 } >
38
+ < Box display = "flex" alignItems = "center" gap = { 0.5 } component = "span" >
39
39
< strong > { t ( 'sendPreferenceConfigurator:return' ) } </ strong >
40
40
< KeyboardReturn fontSize = "small" />
41
41
{ t ( 'sendPreferenceConfigurator:toNewline' ) }
0 commit comments