From 455304b8f99e44eb2c3ecf42afdeaa81343b9282 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 30 Mar 2024 14:18:19 +0200 Subject: [PATCH] Update dependencies and remove UserProfileContainer component --- frontend/package-lock.json | 2 +- frontend/package.json | 2 +- .../card/{UserProfileContainer.js => UserProfileContainer.tsx} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename frontend/src/features/user/profile/card/{UserProfileContainer.js => UserProfileContainer.tsx} (86%) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index d33ff71..9e02d40 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -11,7 +11,7 @@ "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.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/lab": "^5.0.0-alpha.169", "@mui/material": "^5.14.16", diff --git a/frontend/package.json b/frontend/package.json index 9cc7efe..98ce0ab 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -16,7 +16,7 @@ "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.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/lab": "^5.0.0-alpha.169", "@mui/material": "^5.14.16", diff --git a/frontend/src/features/user/profile/card/UserProfileContainer.js b/frontend/src/features/user/profile/card/UserProfileContainer.tsx similarity index 86% rename from frontend/src/features/user/profile/card/UserProfileContainer.js rename to frontend/src/features/user/profile/card/UserProfileContainer.tsx index f9001d5..84bb937 100644 --- a/frontend/src/features/user/profile/card/UserProfileContainer.js +++ b/frontend/src/features/user/profile/card/UserProfileContainer.tsx @@ -2,7 +2,7 @@ import React from "react"; import { useTuitioUserInfo } from "@flare/tuitio-client-react"; import UserProfileComponent from "./UserProfileComponent"; -const UserProfileContainer = () => { +const UserProfileContainer: React.FC = () => { const { userInfo } = useTuitioUserInfo(); return <>{userInfo && }; };