utils.js 125 Bytes
Newer Older
1 2 3 4 5
import { parse } from 'query-string'

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