@openstack_dev/gatsby-theme-marketing-oif-core 1.0.42 → 1.0.43

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/gatsby-config.js CHANGED
@@ -140,7 +140,6 @@ const plugins = [
140
140
  */
141
141
  resolve: "gatsby-plugin-sass",
142
142
  options: {
143
- api: "modern-compiler",
144
143
  cssLoaderOptions: {
145
144
  esModule: false,
146
145
  modules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openstack_dev/gatsby-theme-marketing-oif-core",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Base theme for Marketing Sites",
5
5
  "author": "smarcet",
6
6
  "keywords": [
@@ -27,7 +27,6 @@ export default function AuthBootstrap() {
27
27
  data.email.includes(".") &&
28
28
  data.email.length > MIN_EMAIL_LENGTH
29
29
  ) {
30
- ranRef.current = true;
31
30
  doLoginBasicLogin(getBackURL(), data.email);
32
31
  return;
33
32
  }
@@ -46,6 +45,7 @@ export default function AuthBootstrap() {
46
45
  useEffect(() => {
47
46
  if (rehydrated !== undefined && !rehydrated) return; // Only wait if persist exists
48
47
  if (isLoggedUser || ranRef.current) return;
48
+ ranRef.current = true;
49
49
  checkLoginStatus();
50
50
  }, [rehydrated, isLoggedUser]);
51
51
 
@@ -1 +1 @@
1
- {"staticJsonFilesBuildTime":[],"lastBuild":1774934531441}
1
+ {"staticJsonFilesBuildTime":[],"lastBuild":1774934968471}