diff --git a/.changelog/2412.trivial.md b/.changelog/2412.trivial.md new file mode 100644 index 0000000000..db78ea8c01 --- /dev/null +++ b/.changelog/2412.trivial.md @@ -0,0 +1 @@ +Update LayerPicker icons diff --git a/src/app/components/LayerStatus/index.tsx b/src/app/components/LayerStatus/index.tsx index e8893736c4..e99416f6a7 100644 --- a/src/app/components/LayerStatus/index.tsx +++ b/src/app/components/LayerStatus/index.tsx @@ -1,6 +1,5 @@ import { FC } from 'react' import { useTranslation } from 'react-i18next' -import { CircleCheck, CircleX } from 'lucide-react' import { Tooltip } from '@oasisprotocol/ui-library/src/components/tooltip' type LayerStatusProps = { @@ -14,14 +13,14 @@ type LayerStatusIconProps = { const OutOfDateLayerStatusIcon: FC = ({ tooltip }) => { const { t } = useTranslation() - const errorIcon = + const errorIcon =
return tooltip ? {errorIcon} : errorIcon } const LayerStatusIcon: FC = ({ tooltip }) => { const { t } = useTranslation() - const successIcon = + const successIcon =
return tooltip ? {successIcon} : successIcon } diff --git a/src/app/components/PageLayout/NetworkButton.tsx b/src/app/components/PageLayout/NetworkButton.tsx index 68c3b0f611..968a3200f6 100644 --- a/src/app/components/PageLayout/NetworkButton.tsx +++ b/src/app/components/PageLayout/NetworkButton.tsx @@ -1,7 +1,7 @@ import { FC } from 'react' import { useTranslation } from 'react-i18next' import { Button } from '@oasisprotocol/ui-library/src/components/ui/button' -import { Pen } from 'lucide-react' +import { ChevronDown } from 'lucide-react' import { getNetworkNames, Network } from '../../../types/network' import { Layer } from '../../../oasis-nexus/api' import { getLayerLabels } from '../../utils/content' @@ -33,13 +33,13 @@ export const NetworkButton: FC = ({ isOutOfDate, layer, netw shadow-none gap-0 focus-visible:ring-0 z-20" > -
- {getNetworkButtonLabel(t, network, layer)} +
+ {getNetworkButtonLabel(t, network, layer)}
-
- +
+
) @@ -52,10 +52,10 @@ export const MobileNetworkButton: FC = ({ isOutOfDate, layer ) }