Skip to content

Commit

Permalink
Remove siteVertical from Gutenboard to fix issue missed during rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Jan 15, 2020
1 parent a66eb1e commit 1e3bc27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/landing/gutenboarding/gutenboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
} from '@wordpress/block-editor';
import { Popover, DropZoneProvider } from '@wordpress/components';
import { createBlock, registerBlockType } from '@wordpress/blocks';
import { useSelect } from '@wordpress/data';
import '@wordpress/format-library';
import React, { useRef } from 'react';
// Uncomment and remove the redundant sass import from `./style.css` when a release after @wordpress/[email protected] is published.
Expand All @@ -24,15 +23,12 @@ import { useRouteMatch } from 'react-router-dom';
*/
import Header from './components/header';
import { name, settings } from './onboarding-block';
import { STORE_KEY } from './stores/onboard';
import { routes, Step } from './steps';
import './style.scss';

registerBlockType( name, settings );

export function Gutenboard() {
const { siteVertical } = useSelect( select => select( STORE_KEY ).getState() );

// @TODO: This is currently needed in addition to the routing (inside the Onboarding Block)
// for the 'Back' and 'Next' buttons in the header. If we remove those (and move navigation
// entirely into the block), we'll be able to remove this code.
Expand Down

0 comments on commit 1e3bc27

Please sign in to comment.