mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
♻ Move project source files to top level from src, update Sentry dependency (#630)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Container, Text } from '@chakra-ui/react';
|
||||
|
||||
import { useUserStore } from '../store/user-store';
|
||||
|
||||
|
||||
const Dashboard: React.FC = () => {
|
||||
const { user } = useUserStore();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Container maxW='full' pt={12}>
|
||||
<Text fontSize='2xl'>Hi, {user?.full_name || user?.email} 👋🏼</Text>
|
||||
<Text>Welcome back, nice to see you again!</Text>
|
||||
</Container>
|
||||
</>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
export default Dashboard;
|
||||
Reference in New Issue
Block a user