Skip to content

Commit

Permalink
fix(frontend): use Link component in transaction page (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc committed Jul 31, 2023
1 parent 6a720f3 commit 56376d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
@@ -1,7 +1,7 @@
import {LeftOutlined} from '@ant-design/icons';
import {Typography} from 'antd';
import {Link as RRLink} from 'react-router-dom';
import styled from 'styled-components';
import RRLink from 'components/Link';

export const BackIcon = styled(LeftOutlined)`
cursor: pointer;
Expand Down
8 changes: 5 additions & 3 deletions web/src/components/TransactionRunResult/ExecutionStep.tsx
Expand Up @@ -69,9 +69,11 @@ const ExecutionStep = ({
</S.AssertionResultContainer>
<S.ExecutionStepStatus>
<Tooltip title="Go to Run">
<S.ExecutionStepRunLink to={toLink} target="_blank" data-cy="execution-step-run-link">
<LinkOutlined />
</S.ExecutionStepRunLink>
<div>
<S.ExecutionStepRunLink to={toLink} target="_blank" data-cy="execution-step-run-link">
<LinkOutlined />
</S.ExecutionStepRunLink>
</div>
</Tooltip>
</S.ExecutionStepStatus>
</S.Content>
Expand Down

0 comments on commit 56376d3

Please sign in to comment.