UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

10 lines (9 loc) 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useChainOrder = void 0; const shallow_1 = require("zustand/shallow"); const ChainOrderStore_1 = require("./ChainOrderStore"); const useChainOrder = () => { return (0, ChainOrderStore_1.useChainOrderStore)((state) => [state.chainOrder, state.setChain], shallow_1.shallow); }; exports.useChainOrder = useChainOrder;