import { AnnouncementBanner, ExternalLink, Icon, } from '@vegaprotocol/ui-toolkit'; import { useGlobalStore } from '../../stores'; import React from 'react'; export const Banner = () => { const { update, shouldDisplayAnnouncementBanner } = useGlobalStore( (store) => ({ update: store.update, shouldDisplayAnnouncementBanner: store.shouldDisplayAnnouncementBanner, }) ); // Return an empty div so that the grid layout in _app.page.ts // renders correctly if (!shouldDisplayAnnouncementBanner) { return
; } return (
Mainnet sim 2 is live! Learn more
); };