diff --git a/src/app/components/PairSelector.tsx b/src/app/components/PairSelector.tsx index 30100c4e..041e70f2 100644 --- a/src/app/components/PairSelector.tsx +++ b/src/app/components/PairSelector.tsx @@ -1,16 +1,24 @@ import { useAppSelector, useAppDispatch } from "../hooks"; import { selectPairAddress } from "../redux/pairSelectorSlice"; +function displayName(name?: string) { + return name?.replace("/", " - "); +} + export function PairSelector() { const pairSelector = useAppSelector((state) => state.pairSelector); const dispatch = useAppDispatch(); const selectPair = (pairAddress: string) => { dispatch(selectPairAddress(pairAddress)); }; + return ( -