fix build errors

This commit is contained in:
Tyler Shipe 2021-06-24 13:28:23 -04:00
parent 25d41f2f58
commit cd031b06f6
1 changed files with 3 additions and 2 deletions

View File

@ -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