mirror of
https://github.com/cerc-io/mars-interface.git
synced 2025-09-15 22:24:06 +00:00
7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
import useStore from 'store'
|
|
|
|
export const usePrice = (denom: string): number => {
|
|
const getExchangeRate = useStore((s) => s.getExchangeRate)
|
|
return getExchangeRate(denom)
|
|
}
|