Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified public/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/sections/user/profile-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ const ProfileHeader = ({ profile, children }: PropsWithChildren<ProfileHeaderPro
alt={profile?.handle?.localName ?? ''}
variant="rounded"
sx={{
transition: '2s',
opacity: (profile?.metadata?.picture as any)?.optimized?.uri ? 1: 0,
width: { xs: 64, md: 128 },
height: { xs: 64, md: 128 },
border: `solid 2px ${theme.palette.common.white}`,
Expand Down
6 changes: 4 additions & 2 deletions src/sections/user/view/user-profile-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import ProfileFollowing from '../profile-following';
import ProfileHeader from '../profile-header';
import Label from '../../../components/label';
import ProfileCollected from '../profile-collected';
import {useAuth} from "@src/hooks/use-auth.ts";

// ----------------------------------------------------------------------

Expand All @@ -31,7 +30,7 @@ const UserProfileView = ({ id }: any) => {
const [currentTab, setCurrentTab] = useState('publications');
const settings = useSettingsContext();

const { called, data: profile, execute } = useLazyProfile();
const { called,data: profile, execute } = useLazyProfile();

const { data: publications } = usePublications({
where: {
Expand Down Expand Up @@ -72,6 +71,7 @@ const UserProfileView = ({ id }: any) => {

return (
<Container maxWidth={settings.themeStretch ? false : 'lg'}>
{ profile ? (<>
<ProfileHeader profile={profile as any}>
<Tabs
value={currentTab}
Expand All @@ -97,6 +97,8 @@ const UserProfileView = ({ id }: any) => {
{currentTab === 'collected' && profile && <ProfileCollected profile={profile} />}
{currentTab === 'subscribers' && profile && <ProfileFollowers profile={profile} onActionFinished={handleUpdateProfile} />}
{currentTab === 'subscribed' && profile && <ProfileFollowing profile={profile} />}
</>
): <></>}
</Container>
);
};
Expand Down
Loading