Skip to content

Commit c8df296

Browse files
committed
Fix lint and tweaks
1 parent 0c513cb commit c8df296

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const DevToolTabs = ({
6060
? DraggableTab
6161
: (PaneTab as unknown)) as React.SFC<TabProps>;
6262

63+
/* eslint-disable react/no-array-index-key */
6364
return (
6465
<TypedTab
6566
canDrag={panes.length !== 1}
@@ -80,7 +81,7 @@ const DevToolTabs = ({
8081
pane.closeable && panes.length !== 1 ? closeTab : undefined
8182
}
8283
index={i}
83-
key={i} // eslint-disable-line
84+
key={i}
8485
status={
8586
status
8687
? status[pane.id] || { unread: 0, type: 'info' }

packages/app/src/app/store/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ export function showUserSurveyIfNeeded({ state, controller }) {
183183
if (state.get('user.sendSurvey')) {
184184
notificationState.addNotification({
185185
title: 'Help improve CodeSandbox',
186-
message: 'Help us improve CodeSandbox by answering a small survey!',
186+
message:
187+
"We'd love to hear your thoughts, it's 7 questions and will only take 2 minutes.",
187188
status: NotificationStatus.NOTICE,
188189
sticky: true,
189190
actions: {

packages/app/src/embed/components/Content/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,9 @@ export default class Content extends React.PureComponent<Props, State> {
539539
}}
540540
>
541541
{views.map((devView, i) => (
542+
/* eslint-disable react/no-array-index-key */
542543
<DevTools
543-
key={i} // eslint-disable-line react/no-array-index-key
544+
key={i}
544545
devToolIndex={i}
545546
addedViews={{
546547
'codesandbox.browser': browserConfig,

0 commit comments

Comments
 (0)