Commit 7a8db3d
authored
Filter Cloudinary custom props from rendered div (#37)
* Filter Cloudinary custom props from rendered div
When rendering the div underlying CloudinaryContext remove Cloudinary custom props to avoid errors such as "React does not recognize the `cloudName` prop on a DOM element"
* Restore single quote import style, add case to unit test
* Fix test after merge with React 161 parent 2c5eeec commit 7a8db3d
File tree
3 files changed
+55
-17
lines changed- src/components/CloudinaryContext
- test
3 files changed
+55
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | | - | |
| 12 | + | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
26 | 48 | | |
27 | 49 | | |
28 | 50 | | |
29 | 51 | | |
30 | | - | |
| 52 | + | |
31 | 53 | | |
32 | 54 | | |
33 | 55 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
37 | 61 | | |
38 | | - | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
1812 | 1816 | | |
1813 | 1817 | | |
1814 | 1818 | | |
| |||
4969 | 4973 | | |
4970 | 4974 | | |
4971 | 4975 | | |
4972 | | - | |
4973 | | - | |
4974 | | - | |
4975 | | - | |
4976 | 4976 | | |
4977 | 4977 | | |
4978 | 4978 | | |
| |||
0 commit comments