Skip to content

Commit

Permalink
Clean-up: rm unused variable fallbacks in RichText (#10688)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsf authored and aduth committed Oct 23, 2018
1 parent 2e18dad commit 77fab02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import classnames from 'classnames';
import {
defer,
find,
identity,
isNil,
noop,
isEqual,
Expand Down Expand Up @@ -968,7 +967,7 @@ const RichTextContainer = compose( [
};
} ),
withSelect( ( select ) => {
const { isViewportMatch = identity } = select( 'core/viewport' ) || {};
const { isViewportMatch } = select( 'core/viewport' );
const { canUserUseUnfilteredHTML } = select( 'core/editor' );

return {
Expand Down

0 comments on commit 77fab02

Please sign in to comment.