diff --git a/src/components/containers/BlurWrapper/index.tsx b/src/components/containers/BlurWrapper/index.tsx index 0ece8769..a1bf0a52 100644 --- a/src/components/containers/BlurWrapper/index.tsx +++ b/src/components/containers/BlurWrapper/index.tsx @@ -6,7 +6,7 @@ type IProps = AllHTMLAttributes & { is_blurred: boolean }; export const BlurWrapper: FC = ({ children, is_blurred }) => (
{children}
diff --git a/src/containers/dialogs/Modal/styles.scss b/src/containers/dialogs/Modal/styles.scss index e5b5b5c0..4229aa18 100644 --- a/src/containers/dialogs/Modal/styles.scss +++ b/src/containers/dialogs/Modal/styles.scss @@ -49,6 +49,6 @@ left: 0; width: 100%; height: 100%; - background: transparentize($color: #000000, $amount: 0.5); + // background: transparentize($color: #000000, $amount: 0.5); cursor: pointer; } diff --git a/src/containers/profile/ProfileInfo/index.tsx b/src/containers/profile/ProfileInfo/index.tsx index a243cc85..f8c5010c 100644 --- a/src/containers/profile/ProfileInfo/index.tsx +++ b/src/containers/profile/ProfileInfo/index.tsx @@ -23,7 +23,7 @@ const ProfileInfo: FC = ({ user, is_loading = false }) => (
- {is_loading ? : user.username} + {is_loading ? : user.fullname || user.username}
diff --git a/src/redux/auth/constants.ts b/src/redux/auth/constants.ts index 0616abbe..b81c62fb 100644 --- a/src/redux/auth/constants.ts +++ b/src/redux/auth/constants.ts @@ -45,6 +45,7 @@ export const EMPTY_USER: IUser = { is_activated: false, is_user: false, last_seen: null, + fullname: null, }; export interface IApiUser { diff --git a/src/redux/auth/types.ts b/src/redux/auth/types.ts index fbe0754e..135bc194 100644 --- a/src/redux/auth/types.ts +++ b/src/redux/auth/types.ts @@ -14,6 +14,7 @@ export interface IUser { cover: IFile; name: string; last_seen: string; + fullname: string; is_activated: boolean; is_user: boolean;