synapsecns/sanguine

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

Summary

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

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