Skip to content

Commit 9b5f122

Browse files
committed
fix lint
1 parent 9580c10 commit 9b5f122

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/app/src/app/components/Preview/DevTools/Tabs/AddTab.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ export function AddTab() {
3333
{
3434
title: 'Browser Pane',
3535
icon: PlusIcon,
36-
action: () => {
37-
alert('test');
38-
return true;
39-
},
36+
action: () => true,
4037
},
4138
]}
4239
>

packages/app/src/app/components/Preview/DevTools/Tabs/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const DevToolTabs = ({
8080
pane.closeable && panes.length !== 1 ? closeTab : undefined
8181
}
8282
index={i}
83-
key={i} // eslint-disable-line react/no-array-index-key
83+
key={pane.id}
8484
status={
8585
status
8686
? status[pane.id] || { unread: 0, type: 'info' }

0 commit comments

Comments
 (0)