Skip to content
Permalink
e0a1714279
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (7 sloc) 335 Bytes
import { AppState } from "@nteract/types";
export const transformsById = (state: AppState) =>
state.core.entities.transforms.byId;
export const displayOrder = (state: AppState) =>
state.core.entities.transforms.displayOrder;
export const transform = (state: AppState, { id }: { id: string }) =>
transformsById(state).get(id);