diff --git a/apps/phone/src/apps/twitter/components/profile/Profile.tsx b/apps/phone/src/apps/twitter/components/profile/Profile.tsx index e2ba02c99..c169c0342 100644 --- a/apps/phone/src/apps/twitter/components/profile/Profile.tsx +++ b/apps/phone/src/apps/twitter/components/profile/Profile.tsx @@ -15,6 +15,7 @@ import { useQueryParams } from '@common/hooks/useQueryParams'; import qs from 'qs'; import { Box, Button, styled } from '@mui/material'; import ImageIcon from '@mui/icons-material/Image'; +import { ImagePlus } from 'lucide-react'; const ProfileRoot = styled(Box)({ position: 'relative', @@ -39,7 +40,9 @@ export function Profile() { // Annoyingling adding conditionals above this line to not render // when profile === null results in a react error that different // amounts of hooks are rendering - const [avatarUrl, handleAvatarChange] = useState(profile.avatar_url || ''); + const [avatarUrl, handleAvatarChange] = useState( + profile.avatar_url || 'https://i.fivemanage.com/images/3ClWwmpwkFhL.png', + ); const [name, handleNameChange] = useState(profile.profile_name || ''); const handleChooseImage = useCallback(() => { @@ -85,17 +88,24 @@ export function Profile() { return ( - {enableAvatars && } - - - -
- + {enableAvatars && ( +
+
+ profileimage +
+ +
+
-
- -
- + )} + ( - ({ label, value, handleChange, allowChange, multiline, maxLength }, ref) => { - const classes = useStyles(); + ({ label, value, handleChange, allowChange }, ref) => { const _handleChange = (e) => handleChange(e.target.value); return ( -
- + +
);