import React from "react" ; import { useGlobalState } from "../store/store" ; const useConnectWalletModal = ( ) => { const [ showConnectWallet , setShowConnectWallet ] = useGlobalState ( "showConnectWallet" ) ; return [ showConnectWallet , setShowConnectWallet ] ; } ; export default useConnectWalletModal ;