diff --git a/src/components/EffectDisplay.vue b/src/components/EffectDisplay.vue
index 2b9ccae876..4c2c9a3abc 100644
--- a/src/components/EffectDisplay.vue
+++ b/src/components/EffectDisplay.vue
@@ -16,8 +16,8 @@ export default {
},
label: {
type: String,
- default: "Currently",
- required: false
+ required: false,
+ default: "Currently"
},
ignoreCapped: {
type: Boolean,
@@ -72,8 +72,7 @@ export default {
}
if (!isFunction(effect)) {
- throw new Error(`EffectDisplay config.effect has ` +
- ` unsupported type "${typeof effect}"`);
+ throw new Error(`EffectDisplay config.effect has unsupported type "${typeof effect}"`);
}
const value = effect();
@@ -85,8 +84,8 @@ export default {
this.effectValue = Decimal.fromDecimal(value);
this.updateEffect = () => this.effectValue.copyFrom(effect());
} else {
- throw new Error(`EffectDisplay config.effect is a function which returns` +
- ` unsupported type "${typeof effect}"`);
+ // eslint-disable-next-line max-len
+ throw new Error(`EffectDisplay config.effect is a function which returns unsupported type "${typeof effect}"`);
}
let cap = config.cap;
@@ -125,8 +124,7 @@ export default {
return;
}
- throw new Error(`EffectDisplay config.cap is a function which returns` +
- ` unsupported type "${typeof effect}"`);
+ throw new Error(`EffectDisplay config.cap is a function which returns unsupported type "${typeof effect}"`);
}
}
},
diff --git a/src/components/SliderComponent.vue b/src/components/SliderComponent.vue
index 41705e5f95..a52f169c60 100644
--- a/src/components/SliderComponent.vue
+++ b/src/components/SliderComponent.vue
@@ -1,40 +1,39 @@
+
-
(Required on Mac)