File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,12 @@ const Comments = (props) => {
124124 < div >
125125 { data . attachment &&
126126 data . attachment . map ( ( obj ) => (
127- < img src = { obj . url } key = { obj . id } alt = 'attachment' height = '100' />
127+ < img
128+ src = { obj . url }
129+ key = { obj . id }
130+ alt = 'attachment'
131+ height = '100'
132+ />
128133 ) ) }
129134 </ div >
130135 < div className = 'reply-action' >
Original file line number Diff line number Diff line change @@ -236,9 +236,15 @@ const Story = (props) => {
236236 ) }
237237 </ div >
238238 < div >
239- { story . Attachment && story . Attachment . map ( ( obj ) => (
240- < img key = { obj . id } src = { obj . url } alt = 'attachment' height = '100' />
241- ) ) }
239+ { story . Attachment &&
240+ story . Attachment . map ( ( obj ) => (
241+ < img
242+ key = { obj . id }
243+ src = { obj . url }
244+ alt = 'attachment'
245+ height = '100'
246+ />
247+ ) ) }
242248 </ div >
243249 < Comments storyId = { storyId } />
244250 </ div >
You can’t perform that action at this time.
0 commit comments