Skip to content

Commit

Permalink
Merge pull request peer-town#114 from peer-town/fix/user-profile
Browse files Browse the repository at this point in the history
Few bug fixes
  • Loading branch information
ap-atul authored May 25, 2023
2 parents a08ae96 + 2013ed5 commit 7226874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AddRepoModal = (props:AddRepoModalProps) => {
const [branchError , setBranchError] = useState<boolean>(false);

const user = useAppSelector((state) => state.user);
const userName = user?.userPlatforms[0].platformUsername;
const userName = get(user, "userPlatforms[0].platformUsername");
const adRepo = trpc.radicle.addRepo.useMutation();

const handleUrlInput = (e) => {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/UserProfile/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export const UserProfile = (props: UserProfileProps) => {
<FlexRow classes={"flex-wrap gap-2 my-4 bg-white text-gray-500"}>
{userRepos.data?.edges?.map((repo) => (
<Link
className="w-full"
key={repo.node.id}
href={{
pathname: `https://app.radicle.xyz/seeds/seed.peer.town/${repo.node.radId}`,
Expand Down

0 comments on commit 7226874

Please sign in to comment.