Skip to content

Commit 716bfa4

Browse files
committed
fix lowerCase citizenID
1 parent cdc8066 commit 716bfa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/Search/Tabs/citizen-tab/Profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Profile = ({ user }) => {
3131
<Info>
3232
<h2>{user?.name}</h2>
3333
<a
34-
href={`https://rgb.irpsc.com/fa/citizens/${user?.code}`}
34+
href={`https://rgb.irpsc.com/fa/citizens/${user?.code.toLowerCase()}`}
3535
target="_blank"
3636
>
3737
{user.code}

0 commit comments

Comments
 (0)