From 84cf8895bce3506a8d26cf6f26e1492ba5fa206c Mon Sep 17 00:00:00 2001 From: bangnokia Date: Wed, 15 Jun 2022 17:39:04 +0700 Subject: [PATCH] refactor --- src/components/MailItem.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/MailItem.tsx b/src/components/MailItem.tsx index 9f15894..5eba9c3 100644 --- a/src/components/MailItem.tsx +++ b/src/components/MailItem.tsx @@ -1,5 +1,6 @@ import dayjs from "dayjs"; -import useStore, { Email } from "../store"; +import useStore from "../store"; +import { Email } from "../types"; type MailItemProps = { email: Email;