fix build errors
This commit is contained in:
parent
25d41f2f58
commit
cd031b06f6
|
@ -6,7 +6,7 @@ import {
|
|||
} from '@heroicons/react/outline'
|
||||
import useMangoStore from '../stores/useMangoStore'
|
||||
import { abbreviateAddress } from '../utils'
|
||||
import useMarginInfo from '../hooks/useMarginInfo'
|
||||
// import useMarginInfo from '../hooks/useMarginInfo'
|
||||
import PageBodyContainer from '../components/PageBodyContainer'
|
||||
import TopBar from '../components/TopBar'
|
||||
import AccountAssets from '../components/account-page/AccountAssets'
|
||||
|
@ -28,7 +28,8 @@ const TABS = [
|
|||
export default function Account() {
|
||||
const [activeTab, setActiveTab] = useState(TABS[0])
|
||||
const [showAccountsModal, setShowAccountsModal] = useState(false)
|
||||
const accountMarginInfo = useMarginInfo()
|
||||
// const accountMarginInfo = useMarginInfo()
|
||||
const accountMarginInfo = []
|
||||
const connected = useMangoStore((s) => s.wallet.connected)
|
||||
const selectedMangoAccount = useMangoStore(
|
||||
(s) => s.selectedMangoAccount.current
|
||||
|
|
Loading…
Reference in New Issue