From b16d246cb88d99d515b95f692b300011d30bfa3a Mon Sep 17 00:00:00 2001 From: Evgeniia Vakarina <27793901+EvgeniiaVak@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:09:28 +0400 Subject: [PATCH 1/2] larger pair selector text --- src/app/components/PairSelector.tsx | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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 ( -