feat: set default schedule time for new thread in the future

This commit is contained in:
overflowerror 2021-08-22 17:13:52 +02:00
parent 1eedd5e609
commit 10e012aacb

View file

@ -17,7 +17,7 @@ export type AccountCardProps = {
}
const emptyThread = (account: Account): Thread => ({
scheduled_for: new Date(),
scheduled_for: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
status: ThreadStatus.SCHEDULED,
account: {
id: account.id