Skip to content

Commit

Permalink
Revert locale test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tug committed Apr 2, 2020
1 parent f051533 commit 4c2b6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-editor/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const setupInitHooks = () => {
wpHooks.doAction( 'native.setup-init-hooks' );

wpHooks.addAction( 'native.render', 'core/react-native-editor', ( props ) => {
setupLocale( 'fr', props.translations );
setupLocale( props.locale, props.translations );
} );

// Map native props to Editor props
Expand Down

0 comments on commit 4c2b6b2

Please sign in to comment.