Skip to content

Commit bf5acc1

Browse files
authored
fix(topbar): remove href from Swagger logo (#4566)
Fixes #4527. - this `href` didn't serve any visible or known purpose - it was added before prior to 3.0.0 and has not been modified since - see UX 8ab65d3b - the `Link` was kept, since the anchor was needed to preserve the current layout.
1 parent c1007a2 commit bf5acc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/topbar/topbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default class Topbar extends React.Component {
140140
<div className="topbar">
141141
<div className="wrapper">
142142
<div className="topbar-wrapper">
143-
<Link href="#">
143+
<Link>
144144
<img height="30" width="30" src={ Logo } alt="Swagger UI"/>
145145
<span>swagger</span>
146146
</Link>

0 commit comments

Comments
 (0)