@graphcommerce/magento-customer 9.1.0-canary.39 → 9.1.0-canary.40

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.40
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2529](https://github.com/graphcommerce-org/graphcommerce/pull/2529) [`b331f4d`](https://github.com/graphcommerce-org/graphcommerce/commit/b331f4d060c1385569fbbe1592ac245832de55bc) - Remove all usages of the NoSsr component as the GraphQL layer already handles this. ([@paales](https://github.com/paales))
8
+
3
9
  ## 9.1.0-canary.39
4
10
 
5
11
  ## 9.1.0-canary.38
@@ -6,7 +6,7 @@ import {
6
6
  } from '@graphcommerce/next-ui'
7
7
  import { i18n } from '@lingui/core'
8
8
  import type { BadgeProps, FabProps as FabPropsType, SxProps, Theme } from '@mui/material'
9
- import { Fab, NoSsr } from '@mui/material'
9
+ import { Fab } from '@mui/material'
10
10
  import React from 'react'
11
11
  import type { UseCustomerSessionReturn } from '../../hooks'
12
12
  import { useCustomerAccountCanSignIn, useCustomerSession } from '../../hooks'
@@ -60,9 +60,5 @@ export function CustomerFab(props: CustomerFabProps) {
60
60
 
61
61
  if (!canSignIn) return null
62
62
 
63
- return (
64
- <NoSsr fallback={<CustomerFabContent {...props} />}>
65
- <CustomerFabContent session={session} {...props} />
66
- </NoSsr>
67
- )
63
+ return <CustomerFabContent session={session} {...props} />
68
64
  }
@@ -1,6 +1,6 @@
1
1
  import { iconPerson, IconSvg, MenuFabSecondaryItem } from '@graphcommerce/next-ui'
2
2
  import type { SxProps, Theme } from '@mui/material'
3
- import { Badge, NoSsr } from '@mui/material'
3
+ import { Badge } from '@mui/material'
4
4
  import type { MouseEventHandler } from 'react'
5
5
  import React from 'react'
6
6
  import { useCustomerAccountCanSignIn } from '../../hooks'
@@ -47,9 +47,5 @@ export function CustomerMenuFabItem(props: CustomerMenuFabItemProps) {
47
47
  const canSignIn = useCustomerAccountCanSignIn()
48
48
  if (!canSignIn) return null
49
49
 
50
- return (
51
- <NoSsr fallback={<CustomerMenuFabItemContent {...props} />}>
52
- <CustomerMenuFabItemContent session={session} {...props} />
53
- </NoSsr>
54
- )
50
+ return <CustomerMenuFabItemContent session={session} {...props} />
55
51
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.1.0-canary.39",
5
+ "version": "9.1.0-canary.40",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.1.0-canary.39",
16
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.39",
17
- "@graphcommerce/framer-next-pages": "^9.1.0-canary.39",
18
- "@graphcommerce/framer-utils": "^9.1.0-canary.39",
19
- "@graphcommerce/graphql": "^9.1.0-canary.39",
20
- "@graphcommerce/graphql-mesh": "^9.1.0-canary.39",
21
- "@graphcommerce/image": "^9.1.0-canary.39",
22
- "@graphcommerce/magento-graphql": "^9.1.0-canary.39",
23
- "@graphcommerce/magento-store": "^9.1.0-canary.39",
24
- "@graphcommerce/next-ui": "^9.1.0-canary.39",
25
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.39",
26
- "@graphcommerce/react-hook-form": "^9.1.0-canary.39",
27
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.39",
15
+ "@graphcommerce/ecommerce-ui": "^9.1.0-canary.40",
16
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.40",
17
+ "@graphcommerce/framer-next-pages": "^9.1.0-canary.40",
18
+ "@graphcommerce/framer-utils": "^9.1.0-canary.40",
19
+ "@graphcommerce/graphql": "^9.1.0-canary.40",
20
+ "@graphcommerce/graphql-mesh": "^9.1.0-canary.40",
21
+ "@graphcommerce/image": "^9.1.0-canary.40",
22
+ "@graphcommerce/magento-graphql": "^9.1.0-canary.40",
23
+ "@graphcommerce/magento-store": "^9.1.0-canary.40",
24
+ "@graphcommerce/next-ui": "^9.1.0-canary.40",
25
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.40",
26
+ "@graphcommerce/react-hook-form": "^9.1.0-canary.40",
27
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.40",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",