Skip to content

Commit

Permalink
Enable preformatted block on the Android and on production
Browse files Browse the repository at this point in the history
  • Loading branch information
marecar3 committed Nov 28, 2019
1 parent b066ac9 commit 80d275f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/block-library/src/index.native.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* External dependencies
*/
import { Platform } from 'react-native';
/**
* WordPress dependencies
*/
Expand Down Expand Up @@ -146,8 +142,7 @@ export const registerCoreBlocks = () => {
list,
quote,
mediaText,
// eslint-disable-next-line no-undef
( ( Platform.OS === 'ios' ) || ( !! __DEV__ ) ) ? preformatted : null,
preformatted,
// eslint-disable-next-line no-undef
!! __DEV__ ? group : null,
// eslint-disable-next-line no-undef
Expand Down

0 comments on commit 80d275f

Please sign in to comment.