Skip to content

Commit d740ed8

Browse files
authored
fix(configureStore): remove getBackend (#2806)
1 parent 548ce2f commit d740ed8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/store/configureStore.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,10 @@ export function configureStore({
6262
singleClusterMode: isSingleClusterMode,
6363
withCredentials: !customBackend,
6464
}),
65-
getBackend = (params: ReturnType<typeof getUrlData>) => params.backend,
6665
} = {}) {
6766
const params = getUrlData({singleClusterMode, customBackend});
6867
({basename, clusterName} = params);
69-
backend = getBackend(params);
68+
backend = params.backend;
7069
const history = createBrowserHistory({basename});
7170

7271
const store = _configureStore(aRootReducer, history, {singleClusterMode}, [

0 commit comments

Comments
 (0)