@bbl-digital/snorre 4.0.0-alpha.2 → 4.0.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js CHANGED
@@ -45,7 +45,7 @@
45
45
  const pglobal = fetch(`${themeUrl}/globals.css`);
46
46
  const [styles, global] = await Promise.all([pstyle, pglobal]);
47
47
  setTheme(styles.json());
48
- setGlobals(global.json());
48
+ setGlobals(global);
49
49
  };
50
50
 
51
51
  getThemeStuff(themeUrl);
@@ -14,7 +14,7 @@ const useSnorreTheme = ({
14
14
  const pglobal = fetch(`${themeUrl}/globals.css`);
15
15
  const [styles, global] = await Promise.all([pstyle, pglobal]);
16
16
  setTheme(styles.json());
17
- setGlobals(global.json());
17
+ setGlobals(global);
18
18
  };
19
19
 
20
20
  getThemeStuff(themeUrl);
@@ -14,7 +14,7 @@ const useSnorreTheme = ({
14
14
  const pglobal = fetch(`${themeUrl}/globals.css`);
15
15
  const [styles, global] = await Promise.all([pstyle, pglobal]);
16
16
  setTheme(styles.json());
17
- setGlobals(global.json());
17
+ setGlobals(global);
18
18
  };
19
19
 
20
20
  getThemeStuff(themeUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.3",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",