@microcosmmoney/portal-react 2.3.0 → 2.3.1

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.
@@ -17,7 +17,6 @@ function Modal({ open, onClose, children }) {
17
17
  return ((0, jsx_runtime_1.jsxs)("div", { className: "fixed inset-0 z-50 flex items-center justify-center", onClick: onClose, children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute inset-0 bg-black/60" }), (0, jsx_runtime_1.jsx)("div", { className: "relative bg-neutral-900 border border-neutral-700 rounded-lg p-6 max-w-md w-full mx-4 font-mono", onClick: e => e.stopPropagation(), children: children })] }));
18
18
  }
19
19
  function MicrocosmFragmentPage({ onNavigate }) {
20
- const { user } = (0, auth_react_1.useAuth)();
21
20
  const { data: wallets } = (0, auth_react_1.useWallets)();
22
21
  const primaryWallet = wallets?.[0]?.wallet_address;
23
22
  const { data: vaults, loading: vLoading, refresh: refreshVaults } = (0, auth_react_1.useFragmentVaults)();
@@ -23,7 +23,6 @@ function Modal({ open, onClose, children }) {
23
23
  return ((0, jsx_runtime_1.jsxs)("div", { className: "fixed inset-0 z-50 flex items-center justify-center", onClick: onClose, children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute inset-0 bg-black/60" }), (0, jsx_runtime_1.jsx)("div", { className: "relative bg-neutral-900 border border-neutral-700 rounded-lg p-6 max-w-md w-full mx-4 font-mono max-h-[90vh] overflow-y-auto", onClick: e => e.stopPropagation(), children: children })] }));
24
24
  }
25
25
  function MicrocosmLendingPage({ onNavigate }) {
26
- const { user } = (0, auth_react_1.useAuth)();
27
26
  const { data: wallets } = (0, auth_react_1.useWallets)();
28
27
  const primaryWallet = wallets?.[0]?.wallet_address;
29
28
  const { data: pool, loading: poolLoading, refresh: refreshPool } = (0, auth_react_1.useLendingPool)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microcosmmoney/portal-react",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Microcosm Portal UI components for React/Next.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",