Update dependencies and remove UserProfileContainer component
parent
86d243bffd
commit
455304b8f9
|
@ -11,7 +11,7 @@
|
||||||
"@emotion/react": "^11.11.1",
|
"@emotion/react": "^11.11.1",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@flare/js-utils": "^1.1.0",
|
"@flare/js-utils": "^1.1.0",
|
||||||
"@flare/tuitio-client-react": "^1.2.6",
|
"@flare/tuitio-client-react": "^1.2.8",
|
||||||
"@mui/icons-material": "^5.14.16",
|
"@mui/icons-material": "^5.14.16",
|
||||||
"@mui/lab": "^5.0.0-alpha.169",
|
"@mui/lab": "^5.0.0-alpha.169",
|
||||||
"@mui/material": "^5.14.16",
|
"@mui/material": "^5.14.16",
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"@emotion/react": "^11.11.1",
|
"@emotion/react": "^11.11.1",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@flare/js-utils": "^1.1.0",
|
"@flare/js-utils": "^1.1.0",
|
||||||
"@flare/tuitio-client-react": "^1.2.6",
|
"@flare/tuitio-client-react": "^1.2.8",
|
||||||
"@mui/icons-material": "^5.14.16",
|
"@mui/icons-material": "^5.14.16",
|
||||||
"@mui/lab": "^5.0.0-alpha.169",
|
"@mui/lab": "^5.0.0-alpha.169",
|
||||||
"@mui/material": "^5.14.16",
|
"@mui/material": "^5.14.16",
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React from "react";
|
||||||
import { useTuitioUserInfo } from "@flare/tuitio-client-react";
|
import { useTuitioUserInfo } from "@flare/tuitio-client-react";
|
||||||
import UserProfileComponent from "./UserProfileComponent";
|
import UserProfileComponent from "./UserProfileComponent";
|
||||||
|
|
||||||
const UserProfileContainer = () => {
|
const UserProfileContainer: React.FC = () => {
|
||||||
const { userInfo } = useTuitioUserInfo();
|
const { userInfo } = useTuitioUserInfo();
|
||||||
return <>{userInfo && <UserProfileComponent userData={userInfo} />}</>;
|
return <>{userInfo && <UserProfileComponent userData={userInfo} />}</>;
|
||||||
};
|
};
|
Loading…
Reference in New Issue