Skip to content

Commit

Permalink
Migrate to Lens v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Dec 6, 2024
1 parent 6790033 commit a66f425
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/Account/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const Details: FC<DetailsProps> = ({ isSuspended = false, account }) => {
className="text-sm sm:text-base"
slug={getAccount(account).slugWithPrefix}
/>
{account.operations?.isFollowedByMe ? (
{account.operations?.isFollowingMe ? (
<div className="rounded-full bg-gray-200 px-2 py-0.5 text-xs dark:bg-gray-700">
Follows you
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/Settings/Handles/UnlinkHandle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const UnlinkHandle: FC = () => {
setUnlinking(true);

return await unassignUsernameFromAccount({
variables: { request: currentAccount.address }
variables: { request: { namespace: currentAccount.username?.namespace } }
});
};

Expand Down
8 changes: 7 additions & 1 deletion apps/web/src/components/Settings/Sessions/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ const List: FC = () => {
}

if (error) {
return <ErrorMessage error={error} title="Failed to load sessions" />;
return (
<ErrorMessage
className="m-5"
error={error}
title="Failed to load sessions"
/>
);
}

if (authenticatedSessions?.length === 0) {
Expand Down

0 comments on commit a66f425

Please sign in to comment.