Skip to content

Commit

Permalink
Merge pull request #283 from elmadev/fix/cup-share-link
Browse files Browse the repository at this point in the history
fix(cups): fix share rec links
  • Loading branch information
sunehs authored Jan 3, 2025
2 parents 570468d + 0d21044 commit e4a41fc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/cup/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ const Team = () => {
CupTimeIndex={replay.CupTimeIndex}
/>
<ShareLink
to={`/r?levUrl=${config.dlUrl}level/${
e.LevelIndex
}&recUrl=${getPrivateCupRecUri(
replay.CupTimeIndex,
cup.ShortName,
replay.KuskiData.Kuski,
replay.Code,
getEventNumber(e.CupIndex),
replay.Time,
to={`/r?levUrl=${encodeURIComponent(`${config.dlUrl}level/${e.LevelIndex}`)}&recUrl=${encodeURIComponent(
getPrivateCupRecUri(
replay.CupTimeIndex,
cup.ShortName,
replay.KuskiData.Kuski,
replay.Code,
getEventNumber(e.CupIndex),
replay.Time,
),
)}`}
>
<Share />
Expand Down

0 comments on commit e4a41fc

Please sign in to comment.