Commit cfb15f90 authored by Benjamín Balun's avatar Benjamín Balun
Browse files

current funds indicator added

parent f57a14bc
import { Typography } from 'antd';
import { Button, Card, Col, Modal, Row, Typography } from 'antd';
import { DollarOutlined, QuestionCircleOutlined } from '@ant-design/icons';
import usePageTitle from '../hooks/usePageTitle';
import { useLoggedInUser } from '../hooks/useLoggedInUser';
import { Loading } from '../utils/Loading';
const Store = () => {
usePageTitle('Store');
return <Typography>Store</Typography>;
const { userData } = useLoggedInUser();
if (!userData) {
return <Loading />;
}
return (
<div style={{ textAlign: 'right' }}>
<Typography>
Current funds: {userData?.actualScore} <DollarOutlined />
</Typography>
</div>
);
};
export default Store;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment