fix date preview

This commit is contained in:
Denys Konovalov 2023-04-21 14:52:51 +02:00
parent 7634599e47
commit a70d8ce0a8
2 changed files with 3 additions and 1 deletions

View File

@ -9,3 +9,5 @@ const DatePreview = ({ value }) =>
hour12: false,
}).format(new Date(value))
);
export default DatePreview;

View File

@ -2,7 +2,7 @@ import BooleanPreview from "./boolean-preview.js";
import DraftPreview from "./draft-preview.js";
import CountPreview from "./count-preview.js";
import BodyPreview from "./body-preview.js";
import DatePreview from "./draft-preview.js";
import DatePreview from "./date-preview.js";
export {
BooleanPreview,