2
0

🚸 (sheets) Better Get data settings UI

This commit is contained in:
Baptiste Arnaud
2023-04-11 08:19:42 +02:00
parent 846dac0bf4
commit 6921cc23a5
13 changed files with 133 additions and 84 deletions

View File

@ -1,4 +1,4 @@
import React, { ComponentProps } from 'react'
import { ComponentProps } from 'react'
import {
Mjml,
MjmlBody,
@ -17,14 +17,6 @@ type ReachedChatsLimitEmailProps = {
url: string
}
const now = new Date()
const firstDayOfNextMonth = new Date(now.getFullYear(), now.getMonth() + 1, 1)
const readableResetDate = firstDayOfNextMonth
.toDateString()
.split(' ')
.slice(1, 4)
.join(' ')
export const ReachedChatsLimitEmail = ({
chatsLimit,
url,