import { ExclamationTriangleIcon } from '@radix-ui/react-icons' import { ConnectButton } from '@rainbow-me/rainbowkit' import { motion } from 'framer-motion' import { Button } from '@/components/ui/button' const successVariants = { hidden: { opacity: 0, y: 50, }, visible: { opacity: 1, y: 0, transition: { ease: 'backIn', duration: 0.6, }, }, } export function AlertDestructive() { return (

Heads Up!

UniGov is a proposal simulation module for governance that requires a wallet connection to function. Please connect your wallet to start interacting with the governance contract

{({ account, chain, openAccountModal, openChainModal, openConnectModal, authenticationStatus, mounted }) => { // Note: If your app doesn't use authentication, you // can remove all 'authenticationStatus' checks const ready = mounted && authenticationStatus !== 'loading' const connected = ready && account && chain && (!authenticationStatus || authenticationStatus === 'authenticated') return (
{(() => { if (!connected) { return ( ) } if (chain.unsupported) { return ( ) } return (
) })()}
) }}
{/* */}
// // //

// Heads up! //

//

// UniGov is a proposal simulation module for governance and needs // to be connected to a wallet. //

//
//
// // {({ // account, // chain, // openAccountModal, // openChainModal, // openConnectModal, // authenticationStatus, // mounted, // }) => { // // Note: If your app doesn't use authentication, you // // can remove all 'authenticationStatus' checks // const ready = // mounted && authenticationStatus !== 'loading' // const connected = // ready && // account && // chain && // (!authenticationStatus || // authenticationStatus === 'authenticated') // return ( //
// {(() => { // if (!connected) { // return ( // // ) // } // if (chain.unsupported) { // return ( // // ) // } // return ( //
// // //
// ) // })()} //
// ) // }} //
//
//
//
) } export default AlertDestructive