Skip to content

Commit

Permalink
Merge pull request #517 from oasisprotocol/mz/pickerUpdate
Browse files Browse the repository at this point in the history
Change ParaTime picker selection colors
  • Loading branch information
buberdds authored Jun 13, 2023
2 parents 557a78f + 2c5344e commit 8d24c68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/516.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change ParaTime picker selection colors
2 changes: 1 addition & 1 deletion src/app/components/ParaTimePicker/LayerMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const LayerMenuItem: FC<LayerMenuItemProps> = ({
}) => {
const { t } = useTranslation()
const labels = getLayerLabels(t)
const activeLayerSelection = layer === activeLayer && network === selectedNetwork
const activeLayerSelection = layer === selectedLayer

return (
<MenuItem
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/ParaTimePicker/NetworkMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const NetworkMenuItem: FC<NetworkMenuItemProps> = ({
const { t } = useTranslation()
const labels = getNetworkNames(t)
const icons = getNetworkIcons()
const activeNetworkSelection = network === activeNetwork
const activeNetworkSelection = network === selectedNetwork

return (
<MenuItem
Expand Down

0 comments on commit 8d24c68

Please sign in to comment.