Skip to content

Commit

Permalink
fix: mixing state in store (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
mercs600 committed Apr 17, 2023
1 parent abaa0f0 commit 5a876df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/store/typo3.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { _types as types } from './mutation-types'
import { isDynamicRoute } from '~typo3/lib/route'
import logger from '~typo3/lib/logger'

export const state = {
export const state = () => ({
layout: 'default',
locale: '',
initial: {},
page: {},
domain: null,
locales: null
}
})

export const actions = {
/**
Expand Down

0 comments on commit 5a876df

Please sign in to comment.