diff --git a/editor.planx.uk/src/pages/Preview/Node.tsx b/editor.planx.uk/src/pages/Preview/Node.tsx index ad640df365..239511cd57 100644 --- a/editor.planx.uk/src/pages/Preview/Node.tsx +++ b/editor.planx.uk/src/pages/Preview/Node.tsx @@ -44,28 +44,22 @@ interface Props { data?: any; } -const Node: React.FC = (props: Props) => { +const Node: React.FC = (props) => { const [ childNodesOf, resultData, hasPaid, - passport, isFinalCard, resetPreview, - sessionId, cachedBreadcrumbs, - flowName, flowSettings, ] = useStore((state) => [ state.childNodesOf, state.resultData, state.hasPaid(), - state.computePassport(), state.isFinalCard(), state.resetPreview, - state.sessionId, state.cachedBreadcrumbs, - state.flowName, state.flowSettings, ]);