@matchain/matchid-sdk-react 0.1.53-alpha.15 → 0.1.53-alpha.17
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/dist/assets/icon/index.d.mts +2 -2
- package/dist/assets/icon/index.d.ts +2 -2
- package/dist/{chunk-BC4HS373.mjs → chunk-CNO5SYSQ.mjs} +123 -67
- package/dist/chunk-CNO5SYSQ.mjs.map +1 -0
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +102 -93
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +93 -89
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +95 -91
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/{index-BVfCh4l-.d.mts → index-B1T3lcwo.d.mts} +1 -1
- package/dist/{index-BikcLg_6.d.ts → index-B6Tmp2HR.d.ts} +2 -2
- package/dist/{index-D3Kp05kW.d.ts → index-B6pp5UQe.d.ts} +1 -1
- package/dist/{index-D5WIVIkc.d.ts → index-BR3CyOOn.d.ts} +3 -2
- package/dist/{index-BrzFSkOe.d.mts → index-BeTS09HM.d.mts} +1 -1
- package/dist/{index-BaFmUVw-.d.mts → index-BxHKPC5n.d.mts} +1 -1
- package/dist/{index-DC4F1u-w.d.mts → index-CA7lhjpa.d.mts} +2 -2
- package/dist/{index-C0UKUm0h.d.ts → index-CRoZ0p2b.d.ts} +2 -2
- package/dist/{index-SOVt-ADK.d.mts → index-CXPCmoIu.d.mts} +3 -2
- package/dist/{index-Dus4QPjO.d.mts → index-Ce3oCu6-.d.mts} +1 -1
- package/dist/{index-CLYi12dP.d.mts → index-Ci_ub_5y.d.mts} +2 -2
- package/dist/{index-CQmN0dN4.d.ts → index-DKV8v6s_.d.ts} +1 -1
- package/dist/{index-BgdY5xdW.d.ts → index-Dnjr-WPp.d.ts} +1 -1
- package/dist/{index-D5yzH62h.d.ts → index-IHigYscw.d.ts} +1 -1
- package/dist/index.css +15 -7
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +201 -136
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-VrV1kYga.d.mts → types-mRkAnXBf.d.mts} +8 -1
- package/dist/{types-VrV1kYga.d.ts → types-mRkAnXBf.d.ts} +8 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunk-BC4HS373.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
1
|
+
export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-Ci_ub_5y.mjs';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BxHKPC5n.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-mRkAnXBf.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
1
|
+
export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-B6Tmp2HR.js';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-DKV8v6s_.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-mRkAnXBf.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
package/dist/components/index.js
CHANGED
|
@@ -3277,8 +3277,93 @@ var import_react20 = require("react");
|
|
|
3277
3277
|
// src/MatchContext.tsx
|
|
3278
3278
|
var import_react_query9 = require("@tanstack/react-query");
|
|
3279
3279
|
var import_react_intl6 = require("react-intl");
|
|
3280
|
+
var import_rainbowkit = require("@rainbow-me/rainbowkit");
|
|
3281
|
+
var import_wallets = require("@rainbow-me/rainbowkit/wallets");
|
|
3282
|
+
var import_chains = require("wagmi/chains");
|
|
3283
|
+
|
|
3284
|
+
// src/config/chains/MatchMain.ts
|
|
3285
|
+
var import_viem11 = require("viem");
|
|
3286
|
+
var matchMain = /* @__PURE__ */ (0, import_viem11.defineChain)({
|
|
3287
|
+
//定义match链
|
|
3288
|
+
id: 698,
|
|
3289
|
+
name: "Matchain",
|
|
3290
|
+
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
|
|
3291
|
+
rpcUrls: {
|
|
3292
|
+
default: {
|
|
3293
|
+
http: ["https://rpc.matchain.io"]
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
blockExplorers: {
|
|
3297
|
+
default: {
|
|
3298
|
+
name: "Matchscan",
|
|
3299
|
+
url: "https://matchscan.io/",
|
|
3300
|
+
apiUrl: "https://matchscan.io/api"
|
|
3301
|
+
}
|
|
3302
|
+
},
|
|
3303
|
+
iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png",
|
|
3304
|
+
contracts: {
|
|
3305
|
+
multicall3: {
|
|
3306
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11"
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
// testnet: true,
|
|
3310
|
+
});
|
|
3311
|
+
|
|
3312
|
+
// src/config/chains/MatchTest.ts
|
|
3313
|
+
var import_viem12 = require("viem");
|
|
3314
|
+
var matchTest = /* @__PURE__ */ (0, import_viem12.defineChain)({
|
|
3315
|
+
//定义matchTest链
|
|
3316
|
+
id: 699,
|
|
3317
|
+
name: "MatchTest",
|
|
3318
|
+
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
|
|
3319
|
+
rpcUrls: {
|
|
3320
|
+
default: {
|
|
3321
|
+
http: ["https://testnet-rpc.matchain.io"]
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
blockExplorers: {
|
|
3325
|
+
default: {
|
|
3326
|
+
name: "Matchscan",
|
|
3327
|
+
url: "https://testnet.matchscan.io/",
|
|
3328
|
+
apiUrl: "https://testnet.matchscan.io/api"
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png",
|
|
3332
|
+
contracts: {
|
|
3333
|
+
multicall3: {
|
|
3334
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
3335
|
+
blockCreated: 751532
|
|
3336
|
+
},
|
|
3337
|
+
ensRegistry: { address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" },
|
|
3338
|
+
ensUniversalResolver: {
|
|
3339
|
+
address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
|
|
3340
|
+
blockCreated: 5317080
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
// testnet: true,
|
|
3344
|
+
});
|
|
3345
|
+
|
|
3346
|
+
// src/MatchContext.tsx
|
|
3347
|
+
var import_wagmi = require("wagmi");
|
|
3280
3348
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3281
3349
|
var queryClient = new import_react_query9.QueryClient();
|
|
3350
|
+
var wagmiConfig = (0, import_rainbowkit.getDefaultConfig)({
|
|
3351
|
+
appName: "MatchID",
|
|
3352
|
+
projectId: "9ac6ea7e07860f04616fb311b447dee9",
|
|
3353
|
+
wallets: [
|
|
3354
|
+
{
|
|
3355
|
+
groupName: "Recommended",
|
|
3356
|
+
wallets: [
|
|
3357
|
+
import_wallets.metaMaskWallet,
|
|
3358
|
+
import_wallets.walletConnectWallet,
|
|
3359
|
+
import_wallets.okxWallet,
|
|
3360
|
+
import_wallets.bitgetWallet,
|
|
3361
|
+
import_wallets.injectedWallet
|
|
3362
|
+
]
|
|
3363
|
+
}
|
|
3364
|
+
],
|
|
3365
|
+
chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc]
|
|
3366
|
+
});
|
|
3282
3367
|
var MatchContext = (0, import_react21.createContext)(void 0);
|
|
3283
3368
|
var useMatch = () => {
|
|
3284
3369
|
const context = (0, import_react21.useContext)(MatchContext);
|
|
@@ -4472,72 +4557,8 @@ function WalletModalContentV2(props) {
|
|
|
4472
4557
|
}
|
|
4473
4558
|
|
|
4474
4559
|
// src/components/EVMModal/index.tsx
|
|
4475
|
-
var
|
|
4476
|
-
var
|
|
4477
|
-
var import_wagmi2 = require("wagmi");
|
|
4478
|
-
var import_wallets = require("@rainbow-me/rainbowkit/wallets");
|
|
4479
|
-
|
|
4480
|
-
// src/config/chains/MatchMain.ts
|
|
4481
|
-
var import_viem11 = require("viem");
|
|
4482
|
-
var matchMain = /* @__PURE__ */ (0, import_viem11.defineChain)({
|
|
4483
|
-
//定义match链
|
|
4484
|
-
id: 698,
|
|
4485
|
-
name: "Matchain",
|
|
4486
|
-
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
|
|
4487
|
-
rpcUrls: {
|
|
4488
|
-
default: {
|
|
4489
|
-
http: ["https://rpc.matchain.io"]
|
|
4490
|
-
}
|
|
4491
|
-
},
|
|
4492
|
-
blockExplorers: {
|
|
4493
|
-
default: {
|
|
4494
|
-
name: "Matchscan",
|
|
4495
|
-
url: "https://matchscan.io/",
|
|
4496
|
-
apiUrl: "https://matchscan.io/api"
|
|
4497
|
-
}
|
|
4498
|
-
},
|
|
4499
|
-
iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png",
|
|
4500
|
-
contracts: {
|
|
4501
|
-
multicall3: {
|
|
4502
|
-
address: "0xca11bde05977b3631167028862be2a173976ca11"
|
|
4503
|
-
}
|
|
4504
|
-
}
|
|
4505
|
-
// testnet: true,
|
|
4506
|
-
});
|
|
4507
|
-
|
|
4508
|
-
// src/config/chains/MatchTest.ts
|
|
4509
|
-
var import_viem12 = require("viem");
|
|
4510
|
-
var matchTest = /* @__PURE__ */ (0, import_viem12.defineChain)({
|
|
4511
|
-
//定义matchTest链
|
|
4512
|
-
id: 699,
|
|
4513
|
-
name: "MatchTest",
|
|
4514
|
-
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
|
|
4515
|
-
rpcUrls: {
|
|
4516
|
-
default: {
|
|
4517
|
-
http: ["https://testnet-rpc.matchain.io"]
|
|
4518
|
-
}
|
|
4519
|
-
},
|
|
4520
|
-
blockExplorers: {
|
|
4521
|
-
default: {
|
|
4522
|
-
name: "Matchscan",
|
|
4523
|
-
url: "https://testnet.matchscan.io/",
|
|
4524
|
-
apiUrl: "https://testnet.matchscan.io/api"
|
|
4525
|
-
}
|
|
4526
|
-
},
|
|
4527
|
-
iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png",
|
|
4528
|
-
contracts: {
|
|
4529
|
-
multicall3: {
|
|
4530
|
-
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
4531
|
-
blockCreated: 751532
|
|
4532
|
-
},
|
|
4533
|
-
ensRegistry: { address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" },
|
|
4534
|
-
ensUniversalResolver: {
|
|
4535
|
-
address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
|
|
4536
|
-
blockCreated: 5317080
|
|
4537
|
-
}
|
|
4538
|
-
}
|
|
4539
|
-
// testnet: true,
|
|
4540
|
-
});
|
|
4560
|
+
var import_rainbowkit2 = require("@rainbow-me/rainbowkit");
|
|
4561
|
+
var import_wagmi3 = require("wagmi");
|
|
4541
4562
|
|
|
4542
4563
|
// src/hooks/useWalletBox.ts
|
|
4543
4564
|
var import_react30 = require("react");
|
|
@@ -4581,7 +4602,7 @@ function useWalletBox({
|
|
|
4581
4602
|
|
|
4582
4603
|
// src/hooks/useEthersSigner.ts
|
|
4583
4604
|
var React8 = __toESM(require("react"));
|
|
4584
|
-
var
|
|
4605
|
+
var import_wagmi2 = require("wagmi");
|
|
4585
4606
|
var import_ethers = require("ethers");
|
|
4586
4607
|
|
|
4587
4608
|
// node_modules/@wagmi/core/dist/esm/version.js
|
|
@@ -4803,11 +4824,11 @@ function WalletContent({
|
|
|
4803
4824
|
onSuccess,
|
|
4804
4825
|
type
|
|
4805
4826
|
}) {
|
|
4806
|
-
const config = (0,
|
|
4807
|
-
const { openConnectModal, connectModalOpen } = (0,
|
|
4808
|
-
const { address, connector, isConnected } = (0,
|
|
4809
|
-
const { disconnectAsync } = (0,
|
|
4810
|
-
const chainId = (0,
|
|
4827
|
+
const config = (0, import_wagmi3.useConfig)();
|
|
4828
|
+
const { openConnectModal, connectModalOpen } = (0, import_rainbowkit2.useConnectModal)();
|
|
4829
|
+
const { address, connector, isConnected } = (0, import_wagmi3.useAccount)();
|
|
4830
|
+
const { disconnectAsync } = (0, import_wagmi3.useDisconnect)({ config });
|
|
4831
|
+
const chainId = (0, import_wagmi3.useChainId)();
|
|
4811
4832
|
const { events, login } = useMatch();
|
|
4812
4833
|
const [inited, setInited] = (0, import_react31.useState)(false);
|
|
4813
4834
|
const { status, setStatus, error, setError, statusRef, nonce, setNonce, init } = useWalletBox({
|
|
@@ -4968,23 +4989,6 @@ function WalletContent({
|
|
|
4968
4989
|
}
|
|
4969
4990
|
);
|
|
4970
4991
|
}
|
|
4971
|
-
var wagmiConfig = (0, import_rainbowkit.getDefaultConfig)({
|
|
4972
|
-
appName: "MatchID",
|
|
4973
|
-
projectId: "9ac6ea7e07860f04616fb311b447dee9",
|
|
4974
|
-
wallets: [
|
|
4975
|
-
{
|
|
4976
|
-
groupName: "Recommended",
|
|
4977
|
-
wallets: [
|
|
4978
|
-
import_wallets.metaMaskWallet,
|
|
4979
|
-
import_wallets.walletConnectWallet,
|
|
4980
|
-
import_wallets.okxWallet,
|
|
4981
|
-
import_wallets.bitgetWallet,
|
|
4982
|
-
import_wallets.injectedWallet
|
|
4983
|
-
]
|
|
4984
|
-
}
|
|
4985
|
-
],
|
|
4986
|
-
chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc]
|
|
4987
|
-
});
|
|
4988
4992
|
function EVMConnectModal({
|
|
4989
4993
|
type = "login",
|
|
4990
4994
|
onSuccess,
|
|
@@ -4995,7 +4999,7 @@ function EVMConnectModal({
|
|
|
4995
4999
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
4996
5000
|
}, {
|
|
4997
5001
|
name: "EVM"
|
|
4998
|
-
}), children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5002
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(WalletContent, { onSuccess, type }) });
|
|
4999
5003
|
}
|
|
5000
5004
|
function EVMModal(props) {
|
|
5001
5005
|
return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(EVMConnectModal, { ...props });
|
|
@@ -6597,12 +6601,13 @@ function ContactCard({
|
|
|
6597
6601
|
data,
|
|
6598
6602
|
action
|
|
6599
6603
|
}) {
|
|
6604
|
+
const isDownMd = useDownMd();
|
|
6600
6605
|
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-flex matchid-contact-item", children: [
|
|
6601
6606
|
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-content", children: [
|
|
6602
|
-
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 48, height: 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: 48, name: data?.name || "MatchID" }) }),
|
|
6607
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
|
|
6603
6608
|
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-info", children: [
|
|
6604
|
-
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: 20, loading, children: data?.name || "MatchID User" }) }),
|
|
6605
|
-
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
6609
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
|
|
6610
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
6606
6611
|
] })
|
|
6607
6612
|
] }),
|
|
6608
6613
|
action && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 20, height: 20, loading, children: action() }) })
|
|
@@ -6660,6 +6665,7 @@ function ContactList({
|
|
|
6660
6665
|
}) {
|
|
6661
6666
|
const { loading, totalCount, data, onLoadMore } = contact_exports.useContactList(limit, type);
|
|
6662
6667
|
const [hiddenList, setHiddenList] = (0, import_react43.useState)([]);
|
|
6668
|
+
const { address } = useWallet();
|
|
6663
6669
|
(0, import_react43.useEffect)(() => {
|
|
6664
6670
|
setHiddenList([]);
|
|
6665
6671
|
}, [type]);
|
|
@@ -6679,6 +6685,9 @@ function ContactList({
|
|
|
6679
6685
|
}
|
|
6680
6686
|
const item = data[index];
|
|
6681
6687
|
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ContactCard, { data: item, action: () => {
|
|
6688
|
+
if (address == item.address) {
|
|
6689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, {});
|
|
6690
|
+
}
|
|
6682
6691
|
if (type == "Requests") {
|
|
6683
6692
|
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(RequestAction, { data: item, onSuccess: (data2) => {
|
|
6684
6693
|
setHiddenList([...hiddenList, data2.limit_id || 0]);
|