Skip to content

Commit 3c7e818

Browse files
committed
linting
1 parent cf1dc4a commit 3c7e818

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

special-pages/pages/new-tab/app/activity/components/Activity.examples.js

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,12 @@ import { normalizeData, NormalizedDataContext } from '../NormalizeDataProvider.j
1010
export const activityExamples = {
1111
'activity.empty': {
1212
factory: () => {
13-
return (
14-
<Activity
15-
expansion={'expanded'}
16-
itemCount={0}
17-
trackerCount={0}
18-
toggle={noop('toggle')}
19-
didClick={noop('did click')}
20-
batched={false}
21-
/>
22-
);
13+
return <Activity expansion={'expanded'} itemCount={0} trackerCount={0} toggle={noop('toggle')} batched={false} />;
2314
},
2415
},
2516
'activity.few': {
2617
factory: () => (
27-
<Activity
28-
expansion={'expanded'}
29-
itemCount={10}
30-
trackerCount={20}
31-
toggle={noop('toggle')}
32-
didClick={noop('did click')}
33-
batched={false}
34-
>
18+
<Activity expansion={'expanded'} itemCount={10} trackerCount={20} toggle={noop('toggle')} batched={false}>
3519
<Mock size={3}>
3620
<ActivityBody canBurn={false} visibility={'visible'} />
3721
</Mock>
@@ -40,14 +24,7 @@ export const activityExamples = {
4024
},
4125
'activity.noTrackers': {
4226
factory: () => (
43-
<Activity
44-
expansion={'expanded'}
45-
itemCount={20}
46-
trackerCount={0}
47-
toggle={noop('toggle')}
48-
didClick={noop('did click')}
49-
batched={false}
50-
>
27+
<Activity expansion={'expanded'} itemCount={20} trackerCount={0} toggle={noop('toggle')} batched={false}>
5128
<Mock size={1}>
5229
<ActivityBody canBurn={false} visibility={'visible'} />
5330
</Mock>

0 commit comments

Comments
 (0)