synapsecns/sanguine

View on GitHub
packages/widget/src/state/slices/bridge/hooks.ts

Summary

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

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