-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RelayContainer: pass empty arrays through for plural fragments
Summary:Fixes an issue where passing an empty array as a prop corresponding to a plural fragment would warn about mock data. The empty array is now passed through to the component as-is. Closes #875 Reviewed By: yungsters Differential Revision: D2970111 fb-gh-sync-id: c3a1f3af2426c1170b8b04922df7c5600ef806bb shipit-source-id: c3a1f3af2426c1170b8b04922df7c5600ef806bb
- Loading branch information
1 parent
8e498e7
commit 20bdae4
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters