synapsecns/sanguine

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

Summary

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

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