|
@@ -59,6 +59,7 @@
|
59
|
59
|
|
60
|
60
|
protected List<ReactPackage> getPackages() {
|
61
|
61
|
// Add additional packages you require here
|
|
62
|
+ // No need to add RnnPackage and MainReactPackage
|
62
|
63
|
return Arrays.<ReactPackage>asList(
|
63
|
64
|
// eg. new VectorIconsPackage()
|
64
|
65
|
);
|
|
@@ -66,11 +67,8 @@
|
66
|
67
|
|
67
|
68
|
@Override
|
68
|
69
|
public List<ReactPackage> createAdditionalReactPackages() {
|
69
|
|
- return this.getPackages();
|
|
70
|
+ return getPackages();
|
70
|
71
|
}
|
71
|
|
- // No need to add RnnPackage and MainReactPackage
|
72
|
|
- // Simply return null if you do not have additional packages:
|
73
|
|
- // return null;
|
74
|
72
|
}
|
75
|
73
|
```
|
76
|
74
|
|