turn on notifications

This commit is contained in:
Adrian Brzeziński 2023-08-01 23:38:08 +02:00
parent 666cdc35d6
commit 6af14734b1
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import { useViewport } from 'hooks/useViewport'
import { breakpoints } from 'utils/theme'
import AccountsButton from './AccountsButton'
import useUnownedAccount from 'hooks/useUnownedAccount'
import NotificationsButton from './notifications/NotificationsButton'
import Tooltip from './shared/Tooltip'
import { copyToClipboard } from 'utils'
import UserSetupModal from './modals/UserSetupModal'
@ -35,7 +36,7 @@ const set = mangoStore.getState().set
const TopBar = () => {
const { t } = useTranslation('common')
const { mangoAccount } = useMangoAccount()
const { mangoAccount, mangoAccountAddress } = useMangoAccount()
const { connected } = useWallet()
const [action, setAction] = useState<'deposit' | 'withdraw'>('deposit')
@ -199,6 +200,7 @@ const TopBar = () => {
)}
{connected ? (
<div className="flex items-center">
{mangoAccountAddress && <NotificationsButton />}
<AccountsButton />
<ConnectedMenu />
</div>