@sprucelabs/spruce-heartwood-utils 29.15.1 → 30.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,7 +118,7 @@ export class ThemeManagerImpl {
|
|
118
118
|
if (shouldAnimate) {
|
119
119
|
yield new Promise((resolve) => setTimeout(resolve, 50));
|
120
120
|
}
|
121
|
-
if (typeof prop[0] === 'string') {
|
121
|
+
if (typeof prop[0] === 'string' && typeof prop[1] === 'string') {
|
122
122
|
this.setProp(prop[0], prop[1]);
|
123
123
|
}
|
124
124
|
}
|
@@ -97,7 +97,7 @@ class ThemeManagerImpl {
|
|
97
97
|
if (shouldAnimate) {
|
98
98
|
await new Promise((resolve) => setTimeout(resolve, 50));
|
99
99
|
}
|
100
|
-
if (typeof prop[0] === 'string') {
|
100
|
+
if (typeof prop[0] === 'string' && typeof prop[1] === 'string') {
|
101
101
|
this.setProp(prop[0], prop[1]);
|
102
102
|
}
|
103
103
|
}
|