synapsecns/sanguine

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

Summary

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

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