Skip to content

Commit

Permalink
fix: source links (#4016)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelchris authored Dec 23, 2024
1 parent 166fe17 commit f06c56c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/shared/src/components/profile/SourceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ export const SourceList = ({
placeholder={loader}
>
{sources.map((source) => (
<Link key={source.id} href={`${webappUrl}sources/${source.handle}`}>
<Link
key={source.id}
href={`${webappUrl}${
source.type === SourceType.Squad ? 'squads' : 'sources'
}/${source.handle}`}
>
<a
key={source.id}
className="flex gap-2 px-6 py-3 hover:bg-surface-hover"
Expand Down

0 comments on commit f06c56c

Please sign in to comment.