fix date preview

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

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

@ -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,