Skip to content

Commit

Permalink
Fix a href tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cham11ng committed Oct 2, 2023
1 parent 21ab535 commit 0c9eae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy CVSS Calc
name: Deploy CVSS Calculator

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const Main = () => {
{result.severity.name}
<sub>{result.severity.bottom} - {result.severity.top}</sub>
</span><span className="score">{result.baseScore}</span>
<a className="vector">{result.vector}</a>
<a className="vector" href={`#${result.vector}`}>{result.vector}</a>
<CopyButton text={result.vector} className='copy-button'>Copy</CopyButton>
</label>
</dd>
Expand Down

0 comments on commit 0c9eae4

Please sign in to comment.