import { usePools } from "../usePools/usePools"; /** * A convenience hook for when working with a single Pool * @param poolId */ export const usePool = (poolId: number) => { const { pools } = usePools(); return pools[poolId]; };