From c9714f938e616a641ebe413dd552435b391877c2 Mon Sep 17 00:00:00 2001 From: Simone Taeggi Date: Mon, 12 Dec 2022 15:16:05 +0100 Subject: [PATCH] rename the old version of the DateTimePicker in the helper-plugin --- .../lib/src/components/DateTimePicker/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js b/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js index 5fb831a491..bc9c6476b1 100644 --- a/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js +++ b/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js @@ -1,8 +1,8 @@ import React, { useEffect } from 'react'; -import { DateTimePicker as MyDateTimePicker } from '@strapi/design-system'; +import { DateTimePicker } from '@strapi/design-system'; // TODO: remove DateTimePicker component from the helper-plugin in V5 -export default function DateTimePicker(props) { +export default function DateTimePickerLegacy(props) { useEffect(() => { if (process.env.NODE_ENV === 'development') { console.log( @@ -13,5 +13,5 @@ export default function DateTimePicker(props) { } }, []); - return ; + return ; }