Skip to content

Commit 7bde336

Browse files
committed
♻️ Use PureComponent in Feed
1 parent 2c44360 commit 7bde336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/feed/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { Component } from 'react'
1+
import React, { PureComponent } from 'react'
22
import { withTheme } from 'emotion-theming'
33
import { compose } from '@exah/utils'
44
import { withCurrentMedia } from '../current-media-provider'
@@ -17,7 +17,7 @@ const groupChildren = (children = [], length = 3) => {
1717
}, placeholder)
1818
}
1919

20-
class FeedContainer extends Component {
20+
class FeedContainer extends PureComponent {
2121
static defaultProps = {
2222
theme: { grid: 12 },
2323
spaceContent: true,

0 commit comments

Comments
 (0)