Remove unused getter

This commit is contained in:
Kasper Seweryn 2022-05-06 13:30:09 +00:00 committed by Georg Krause
parent 40c7e08744
commit a25f1bbb1f
1 changed files with 1 additions and 2 deletions

View File

@ -139,8 +139,7 @@ const store: Module<State, RootState> = {
const instanceUrl = state.instanceUrl ?? location.origin
return instanceUrl + relativeUrl
},
domain: (state) => new URL(state.instanceUrl ?? location.origin).hostname,
appDomain: () => location.hostname
domain: (state) => new URL(state.instanceUrl ?? location.origin).hostname
},
actions: {
setUrl ({ commit }, url) {