@pure-ds/storybook 0.1.8 → 0.1.9
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.
- package/.storybook/preview.js +1 -1
- package/package.json +1 -1
package/.storybook/preview.js
CHANGED
|
@@ -114,7 +114,7 @@ const withPDS = (story, context) => {
|
|
|
114
114
|
// Check again after applying
|
|
115
115
|
const afterSheets = document.adoptedStyleSheets || [];
|
|
116
116
|
const afterPdsSheets = afterSheets.filter(s => s._pds === true);
|
|
117
|
-
} else if (!window.__pdsInitializing) {
|
|
117
|
+
} else if (!window.__pdsInitializing && PDS.isLiveMode()) {
|
|
118
118
|
console.warn('⚠️ No designer found!');
|
|
119
119
|
}
|
|
120
120
|
|