Give explicit names to MobX observer components (#1413)
* Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
This commit is contained in:
@@ -52,7 +52,7 @@ interface Author {
|
||||
moderation: ProfileModeration
|
||||
}
|
||||
|
||||
export const FeedItem = observer(function ({
|
||||
export const FeedItem = observer(function FeedItemImpl({
|
||||
item,
|
||||
}: {
|
||||
item: NotificationsFeedItemModel
|
||||
|
||||
Reference in New Issue
Block a user