Skip to content

Commit

Permalink
Fix redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Feb 18, 2020
1 parent 619fdb8 commit 1c1495b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/landing/custom-editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import 'assets/stylesheets/gutenboarding.scss';
import 'components/environment-badge/style.scss';

window.AppBoot = () => {
if ( ! config.isEnabled( 'gutenboarding' ) ) {
if ( ! config.isEnabled( 'custom-editor' ) ) {
window.location.href = '/';
} else {
// setupWpDataDebug();
Expand Down

0 comments on commit 1c1495b

Please sign in to comment.