Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nevo-david committed Oct 19, 2023
1 parent d8d53a7 commit 5d2a616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/teams/hero/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Hero = ({ team }) => {
url:
view === 'repository'
? new URL(p.url).pathname.split('/').slice(0, 3).join('/')
: p.url.split('https://github.com/')[1],
: +'/' + p.url.split('https://github.com/')[1],
}))
.filter((current, index, all) => {
const firstIndex = all.findIndex((item) => item.url === current.url);
Expand Down

1 comment on commit 5d2a616

@vercel
Copy link

@vercel vercel bot commented on 5d2a616 Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.