Skip to content

Commit

Permalink
Using new State type
Browse files Browse the repository at this point in the history
  • Loading branch information
poffdeluxe committed Sep 9, 2019
1 parent 49de05d commit 27eb09a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,9 @@ import { canUserWrite } from '../../state/selectors/app';
import { getSelectedPage, isWriteable } from '../../state/selectors/workpad';
// @ts-ignore untyped local
import { setWriteable } from '../../state/actions/workpad';
import { CanvasWorkpad } from '../../../types';
import { State, CanvasWorkpad } from '../../../types';
import { WorkpadHeader as Component, Props as ComponentProps } from './workpad_header';

interface State {
transient: { canUserWrite: boolean };

persistent: { workpad: CanvasWorkpad };
}

interface StateProps {
isWriteable: boolean;
canUserWrite: boolean;
Expand Down

0 comments on commit 27eb09a

Please sign in to comment.