Skip to content
Snippets Groups Projects
Commit 7dbf979f authored by Rémi PAPIN's avatar Rémi PAPIN
Browse files

Ingration of WelcomeMail

parent 7d7463d9
No related branches found
No related tags found
1 merge request!112Features/us248 welcome mail
...@@ -28,7 +28,7 @@ const Content: React.FC<ContentProps> = ({ ...@@ -28,7 +28,7 @@ const Content: React.FC<ContentProps> = ({
const client = useClient() const client = useClient()
const cozyBarHeight = 48 const cozyBarHeight = 48
const cozyNavHeight = 56 const cozyNavHeight = 56
const mailService = new MailService()
const [screenType, setScreenType] = useRecoilState<ScreenType>( const [screenType, setScreenType] = useRecoilState<ScreenType>(
screenTypeState screenTypeState
) )
...@@ -39,7 +39,6 @@ const Content: React.FC<ContentProps> = ({ ...@@ -39,7 +39,6 @@ const Content: React.FC<ContentProps> = ({
const setWelcomeModalViewed = useCallback(async () => { const setWelcomeModalViewed = useCallback(async () => {
let username = '' let username = ''
const mailService = new MailService()
// Retrieve public name from the stack // Retrieve public name from the stack
const settings = await client const settings = await client
.getStackClient() .getStackClient()
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment