Changing path for hocs

This commit is contained in:
Belen Curcio
2017-05-10 14:13:32 -03:00
parent 3e1b7591e0
commit 26e5631f52
3 changed files with 10 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
import withFragments from './withFragments';
import withReaction from './withReaction';
export default {
withFragments,
withReaction
}
+2
View File
@@ -1,6 +1,7 @@
import pym from './services/PymConnection';
import I18n from './modules/i18n/i18n';
import actions from './actions';
import hocs from './hocs';
// TODO (bc): Deprecate old actions. Spreading actions is now needed.
@@ -8,5 +9,6 @@ export default {
pym,
I18n,
actions,
...hocs,
...actions
};
@@ -3,7 +3,7 @@ import {Icon} from 'coral-ui';
import styles from './styles.css';
import {I18n} from 'coral-framework';
import translations from './translations.json';
import withReaction from 'coral-framework/hocs/withReaction';
import {withReaction} from 'coral-framework';
const lang = new I18n(translations);
class LoveButton extends React.Component {