File tree Expand file tree Collapse file tree
src/components/Attachment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const Attachment = (props) => {
6868 { attachment . actions ?. length && (
6969 < AttachmentActions
7070 actionHandler = { actionHandler }
71- key = { ' key-actions-' + attachment . id }
71+ key = { ` key-actions-${ attachment . id } ` }
7272 { ...attachment }
7373 />
7474 ) }
@@ -83,7 +83,7 @@ const Attachment = (props) => {
8383 < Giphy alignment = { alignment } { ...attachment } { ...cardProps } />
8484 < AttachmentActions
8585 actionHandler = { actionHandler }
86- key = { ' key-actions-' + attachment . id }
86+ key = { ` key-actions-${ attachment . id } ` }
8787 { ...attachment }
8888 />
8989 </ View >
@@ -100,7 +100,7 @@ const Attachment = (props) => {
100100 < Card alignment = { alignment } { ...attachment } { ...cardProps } />
101101 < AttachmentActions
102102 actionHandler = { actionHandler }
103- key = { ' key-actions-' + attachment . id }
103+ key = { ` key-actions-${ attachment . id } ` }
104104 { ...attachment }
105105 />
106106 </ View >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const goToURL = (url) => {
6262 if ( supported ) {
6363 Linking . openURL ( url ) ;
6464 } else {
65- console . log ( " Don't know how to open URI: " + url ) ;
65+ console . log ( ` Don't know how to open URI: ${ url } ` ) ;
6666 }
6767 } ) ;
6868} ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ const FileAttachment = ({
8484 { attachment . actions ?. length && (
8585 < AttachmentActions
8686 actionHandler = { actionHandler }
87- key = { ' key-actions-' + attachment . id }
87+ key = { ` key-actions-${ attachment . id } ` }
8888 { ...attachment }
8989 />
9090 ) }
You can’t perform that action at this time.
0 commit comments