Updated polling logic.

This commit is contained in:
Mike Cao 2020-10-09 01:04:06 -07:00
parent fdc92d087b
commit 9737127bb1
6 changed files with 33 additions and 19 deletions

View file

@ -28,3 +28,7 @@ export function getQueryString(params = {}) {
return '';
}
export function makeUrl(url, params) {
return `${url}${getQueryString(params)}`;
}