fix: completion page apis, validation, email states
This commit is contained in:
@@ -54,7 +54,7 @@ export function PersonalInformation() {
|
||||
setData(fetchedData);
|
||||
setOriginalData(fetchedData);
|
||||
|
||||
const imageBaseUrl = process.env.IMAGE_BASE_URL;
|
||||
const imageBaseUrl = import.meta.env.IMAGE_BASE_URL;
|
||||
|
||||
if (profileData.profileImageUrl) {
|
||||
setUploadedImageUrl(`${imageBaseUrl}${profileData.profileImageUrl}`);
|
||||
|
||||
@@ -59,7 +59,7 @@ export function SocialMedia() {
|
||||
} = useApi(changeEmail);
|
||||
|
||||
const fullScreen = useMediaQuery((theme: Theme) =>
|
||||
theme.breakpoints.down('sm'),
|
||||
theme?.breakpoints.down('sm'),
|
||||
);
|
||||
const downMd = useMediaQuery((theme: Theme) => theme.breakpoints.down('md'));
|
||||
const computedMaxWidth = (fullScreen ? 'xs' : downMd ? 'sm' : 'md') as
|
||||
|
||||
Reference in New Issue
Block a user