mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
19 lines
552 B
TypeScript
19 lines
552 B
TypeScript
|
import useUser from '../../../hooks/api/getters/useUser/useUser';
|
||
|
import UserProfile from './UserProfile';
|
||
|
import { useLocationSettings } from '../../../hooks/useLocationSettings';
|
||
|
|
||
|
const UserProfileContainer = () => {
|
||
|
const user = useUser();
|
||
|
const { locationSettings, setLocationSettings } = useLocationSettings();
|
||
|
|
||
|
return (
|
||
|
<UserProfile
|
||
|
locationSettings={locationSettings}
|
||
|
setLocationSettings={setLocationSettings}
|
||
|
profile={user.user}
|
||
|
/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default UserProfileContainer;
|