synapsecns/sanguine

View on GitHub
packages/synapse-interface/slices/wallet/hooks.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { RootState } from '@/store/store'
import { useAppSelector } from '@/store/hooks'

export const useWalletState = (): RootState['wallet'] => {
  return useAppSelector((state) => state.wallet)
}