From b8ccf49f11762ebc49801bbfdce370e4f03c72fe Mon Sep 17 00:00:00 2001 From: Benjamin Chodoroff Date: Thu, 14 Jun 2018 21:40:40 -0400 Subject: [PATCH] fix regex for referrer --- src/reducers/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reducers/user.js b/src/reducers/user.js index c918eb1e..dff413ce 100644 --- a/src/reducers/user.js +++ b/src/reducers/user.js @@ -16,7 +16,7 @@ const SET_COMPLETED = 'user/SET_COMPLETED'; const SET_TRACKING_ID = 'user/SET_TRACKING_ID'; // Provide the referrer based on whatever our ref is set to at page load. -const referrerMatch = window.location.search.match(/\?ref=([a-zA-Z*])/); +const referrerMatch = window.location.search.match(/\?ref=([a-zA-Z]*)/); const defaultState = Map({ username: '',