From a25f1bbb1fe9bf3df5d4c71155456d8ead1ea7d1 Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Fri, 6 May 2022 13:30:09 +0000 Subject: [PATCH] Remove unused getter --- front/src/store/instance.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/front/src/store/instance.ts b/front/src/store/instance.ts index fd1c5258d..224f02bbc 100644 --- a/front/src/store/instance.ts +++ b/front/src/store/instance.ts @@ -139,8 +139,7 @@ const store: Module = { 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) {