Fix variable name

This commit is contained in:
Steve Klebanoff
2018-11-30 14:19:07 -08:00
parent 6a3f295b1f
commit 91b0fd9517

View File

@@ -20,9 +20,9 @@ const getHeapConfigForDischargeTarget = dischargeTarget => {
};
};
const DISCHARGE_TARGETS_THAT_REQUIRE = ['production', 'staging', 'dogfood'];
const DISCHARGE_TARGETS_THAT_REQUIRE_ROLLBAR = ['production', 'staging', 'dogfood'];
const getRollbarConfigForDischargeTarget = dischargeTarget => {
if (DISCHARGE_TARGETS_THAT_REQUIRE.includes(dischargeTarget)) {
if (DISCHARGE_TARGETS_THAT_REQUIRE_ROLLBAR.includes(dischargeTarget)) {
const rollbarSourceMapPublicPath =
dischargeTarget === 'production'
? 'https://instant.0xproject.com'