import { parse } from 'query-string' export function getPageQuery() { return parse(window.location.href.split('?')[1]); }