UNPKG

gatsby-cli

Version:

Gatsby command-line interface for creating new sites and running Gatsby commands

15 lines (14 loc) 322 B
"use strict"; exports.__esModule = true; exports.reducer = void 0; var _constants = require("../../constants"); const reducer = (state = null, action) => { switch (action.type) { case _constants.Actions.RenderPageTree: { return action.payload; } } return state; }; exports.reducer = reducer;