@@ -30,6 +30,8 @@ const state = {
const mutations = {
SET_HERO(state, hero) {
+ if(!hero) return
+
if (hero.url) {
state.hero.text = state.hero.url = hero.url
} else {