export const setOptions = ({ state }, upd) => {
    if (!upd)
        return;
    Object.keys(upd).forEach((k) => (state.flows.stake.options[k] = upd[k]));
};
export const setLatestMode = ({ state }, { votingMode }) => {
    state.flows.vote.latestMode = votingMode ?? -1;
};
//# sourceMappingURL=actions.js.map