@rango-dev/widget-embedded 0.32.2-next.2 → 0.32.2-next.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.32.2-next.2",
3
+ "version": "0.32.2-next.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -25,12 +25,12 @@
25
25
  "@lingui/core": "4.2.1",
26
26
  "@lingui/react": "4.2.1",
27
27
  "@rango-dev/logging-core": "^0.6.0",
28
- "@rango-dev/provider-all": "^0.36.1-next.5",
28
+ "@rango-dev/provider-all": "^0.36.1-next.6",
29
29
  "@rango-dev/queue-manager-core": "^0.27.0",
30
30
  "@rango-dev/queue-manager-rango-preset": "^0.36.1-next.1",
31
31
  "@rango-dev/queue-manager-react": "^0.27.0",
32
32
  "@rango-dev/signer-solana": "^0.31.1-next.1",
33
- "@rango-dev/ui": "^0.38.1-next.0",
33
+ "@rango-dev/ui": "^0.38.1-next.1",
34
34
  "@rango-dev/wallets-core": "^0.37.1-next.1",
35
35
  "@rango-dev/wallets-react": "^0.22.1-next.1",
36
36
  "@rango-dev/wallets-shared": "^0.36.1-next.1",
@@ -54,4 +54,4 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
57
- }
57
+ }
@@ -109,17 +109,15 @@ function Layout(props: PropsWithChildren<PropTypes>) {
109
109
  ref={containerRef}>
110
110
  <Header
111
111
  prefix={
112
- <>
113
- {showBackButton && (
114
- <BackButton
115
- onClick={() => {
116
- navigateBack();
117
- // As an example, used in routes page to add a custom logic when navigating back to the home page.
118
- header.onBack && header.onBack();
119
- }}
120
- />
121
- )}
122
- </>
112
+ showBackButton ? (
113
+ <BackButton
114
+ onClick={() => {
115
+ navigateBack();
116
+ // As an example, used in routes page to add a custom logic when navigating back to the home page.
117
+ header.onBack && header.onBack();
118
+ }}
119
+ />
120
+ ) : null
123
121
  }
124
122
  title={header.title}
125
123
  suffix={