mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 13:28:08 +03:00
fix: clicking pfps doesn't work
This commit is contained in:
@@ -64,6 +64,11 @@ export function ProfilePictureSmall({
|
||||
*/
|
||||
toGPT?: string;
|
||||
}) {
|
||||
if (toGPT) {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
toGPT = `games/${toGPT}`;
|
||||
}
|
||||
|
||||
if (typeof user === "string") {
|
||||
return (
|
||||
<Link to={`/u/${user}/${toGPT}`}>
|
||||
|
||||
Reference in New Issue
Block a user