9 lines
231 B
JavaScript
9 lines
231 B
JavaScript
export const selectAsset = (show) => {
|
|
const request = show.requestList[show.request.id];
|
|
const assetKey = request.key;
|
|
return show.assetList[assetKey];
|
|
};
|
|
|
|
export const selectShowState = (state) => {
|
|
return state.show;
|
|
};
|