MCPcopy Create free account
hub / github.com/codecombat/codecombat / clearPageErrors

Function clearPageErrors

app/core/store/index.js:24–24  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

22 mutations: {
23 addPageError(state, error) { return state.pageErrors.push(error); },
24 clearPageErrors(state) { return state.pageErrors = []; },
25 addLocaleLoaded(state, localeCode) {
26 const addition = {};
27 addition[localeCode] = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected