From 8769c4f4ad2d3b4706ff227386bec0e83bacf980 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Wed, 21 Aug 2019 14:28:15 +0200 Subject: Replace public Franz occurences with Ferdi --- src/I18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/I18n.js') diff --git a/src/I18n.js b/src/I18n.js index e33141576..14ee6599c 100644 --- a/src/I18n.js +++ b/src/I18n.js @@ -9,7 +9,7 @@ import UserStore from './stores/UserStore'; export default @inject('stores') @observer class I18N extends Component { componentDidUpdate() { - window.franz.menu.rebuild(); + window.ferdi.menu.rebuild(); } render() { @@ -18,7 +18,7 @@ export default @inject('stores') @observer class I18N extends Component { return ( { window.franz.intl = intlProvider ? intlProvider.getChildContext().intl : null; }} + ref={(intlProvider) => { window.ferdi.intl = intlProvider ? intlProvider.getChildContext().intl : null; }} > {children} -- cgit v1.2.3-70-g09d2