fix: encode profile ids #280
This commit is contained in:
@@ -232,7 +232,7 @@ function EventDetailsContent({ id, createdAt, projectId }: Props) {
|
||||
{profile && (
|
||||
<ProjectLink
|
||||
onClick={() => popModal()}
|
||||
href={`/profiles/${profile.id}`}
|
||||
href={`/profiles/${encodeURIComponent(profile.id)}`}
|
||||
className="card p-4 py-2 col gap-2 hover:bg-def-100"
|
||||
>
|
||||
<div className="row items-center gap-2 justify-between">
|
||||
|
||||
@@ -25,7 +25,7 @@ const ProfileItem = ({ profile }: { profile: any }) => {
|
||||
return (
|
||||
<ProjectLink
|
||||
preload={false}
|
||||
href={`/profiles/${profile.id}`}
|
||||
href={`/profiles/${encodeURIComponent(profile.id)}`}
|
||||
title={getProfileName(profile, false)}
|
||||
className="col gap-2 rounded-lg border p-2 bg-card"
|
||||
onClick={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user