Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Jul 11, 2024
2 parents c9e7ecf + a1a31a6 commit 0109dfe
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"apps/cowswap-frontend": "1.76.2",
"apps/explorer": "2.32.1",
"apps/explorer": "2.32.2",
"libs/permit-utils": "0.3.0",
"libs/widget-lib": "0.13.2",
"libs/widget-react": "0.9.0",
Expand Down
12 changes: 2 additions & 10 deletions apps/cow-fi/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
"name": "next"
}
],
"types": [
"jest",
"node"
]
"types": ["jest", "node"]
},
"include": [
"**/*.ts",
Expand All @@ -53,10 +50,5 @@
"next-env.d.ts",
".next/types/**/*.ts"
],
"exclude": [
"node_modules",
"jest.config.ts",
"**/*.spec.ts",
"**/*.test.ts"
]
"exclude": ["node_modules", "jest.config.ts", "**/*.spec.ts", "**/*.test.ts"]
}
7 changes: 7 additions & 0 deletions apps/explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.32.2](https://github.com/cowprotocol/cowswap/compare/explorer-v2.32.1...explorer-v2.32.2) (2024-07-10)


### Bug Fixes

* fix broken links in gnosis chain ([#4706](https://github.com/cowprotocol/cowswap/issues/4706)) ([af8172d](https://github.com/cowprotocol/cowswap/commit/af8172d3b2d97e3c7c1150a8237344e5182a310d))

## [2.32.1](https://github.com/cowprotocol/cowswap/compare/explorer-v2.32.0...explorer-v2.32.1) (2024-07-05)


Expand Down
2 changes: 1 addition & 1 deletion apps/explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cowprotocol/explorer",
"version": "2.32.1",
"version": "2.32.2",
"description": "CoW Swap Explorer",
"main": "src/main.tsx",
"author": "",
Expand Down
22 changes: 7 additions & 15 deletions apps/explorer/src/components/orders/DetailsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { Order } from 'api/operator'
import { getUiOrderType } from 'utils/getUiOrderType'

import { TAB_QUERY_PARAM_KEY } from '../../../explorer/const'
import { Link } from 'react-router-dom'

const tooltip = {
orderID: 'A unique identifier ID for this order.',
Expand Down Expand Up @@ -201,12 +202,9 @@ export function DetailsTable(props: Props): React.ReactNode | null {
textToCopy={owner}
onCopy={(): void => onCopy('ownerAddress')}
contentsToDisplay={
<LinkWithPrefixNetwork
to={getExplorerLink(chainId, owner, ExplorerDataType.ADDRESS)}
target="_blank"
>
<Link to={getExplorerLink(chainId, owner, ExplorerDataType.ADDRESS)} target="_blank">
{owner}
</LinkWithPrefixNetwork>
</Link>
}
/>
<LinkButton to={`/address/${owner}`}>
Expand All @@ -228,12 +226,9 @@ export function DetailsTable(props: Props): React.ReactNode | null {
textToCopy={receiver}
onCopy={(): void => onCopy('receiverAddress')}
contentsToDisplay={
<LinkWithPrefixNetwork
to={getExplorerLink(chainId, receiver, ExplorerDataType.ADDRESS)}
target="_blank"
>
<Link to={getExplorerLink(chainId, receiver, ExplorerDataType.ADDRESS)} target="_blank">
{receiver}
</LinkWithPrefixNetwork>
</Link>
}
/>
<LinkButton to={`/address/${receiver}`}>
Expand All @@ -259,12 +254,9 @@ export function DetailsTable(props: Props): React.ReactNode | null {
textToCopy={txHash}
onCopy={(): void => onCopy('settlementTx')}
contentsToDisplay={
<LinkWithPrefixNetwork
to={getExplorerLink(chainId, txHash, ExplorerDataType.TRANSACTION)}
target="_blank"
>
<Link to={getExplorerLink(chainId, txHash, ExplorerDataType.TRANSACTION)} target="_blank">
{txHash}
</LinkWithPrefixNetwork>
</Link>
}
/>

Expand Down

0 comments on commit 0109dfe

Please sign in to comment.