Skip to content

Commit 3ada430

Browse files
authored
fix claim sit (codesandbox#2547)
1 parent cb965d4 commit 3ada430

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/app/src/app/overmind/effects/netlify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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') {

packages/app/src/app/pages/common/Modals/NetlifyLogs/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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()}>

0 commit comments

Comments
 (0)