apply prettier formating

This commit is contained in:
Prettier
2018-07-07 01:17:37 +04:00
committed by Aleksey Gurianov
parent 5d1201351a
commit 2df3aa01d4
38 changed files with 215 additions and 190 deletions
+9 -5
View File
@@ -1,8 +1,12 @@
const querySettings = window.location.search.substr(1).split('&').reduce((acc, param) => {
const pair = param.split('=');
acc[pair[0]] = decodeURIComponent(pair[1]);
return acc;
}, {}) || {};
const querySettings =
window.location.search
.substr(1)
.split('&')
.reduce((acc, param) => {
const pair = param.split('=');
acc[pair[0]] = decodeURIComponent(pair[1]);
return acc;
}, {}) || {};
export const siteId = querySettings['site_id'];
export const url = querySettings['url'];