File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
pages/common/Modals/NetlifyLogs Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default (() => {
4343 return response . data ;
4444 } ,
4545 async deploy ( file : string , sandbox : Sandbox ) : Promise < string > {
46- const userId = _options . getUserId ;
46+ const userId = _options . getUserId ( ) ;
4747 const template = getTemplate ( sandbox . template ) ;
4848 const buildCommand = ( name : string ) => {
4949 if ( name === 'styleguidist' ) {
Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ class NetlifyLogs extends Component {
3737 Builds typically take a minute or two to complete
3838 </ Explanation >
3939 < List >
40- { this . state . logs . map ( log => (
41- < Item key = { log } > { log } </ Item >
40+ { this . state . logs . map ( ( log , i ) => (
41+ // eslint-disable-next-line react/no-array-index-key
42+ < Item key = { i } > { log } </ Item >
4243 ) ) }
4344 </ List >
4445 < Button small onClick = { ( ) => signals . modalClosed ( ) } >
You can’t perform that action at this time.
0 commit comments