mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 23:58:10 +08:00
Changing path for hocs
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import withFragments from './withFragments';
|
||||
import withReaction from './withReaction';
|
||||
|
||||
export default {
|
||||
withFragments,
|
||||
withReaction
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user