mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 09:25:46 +00:00
change log content
This commit is contained in:
parent
465182240d
commit
c35a5636e4
@ -1,12 +1,12 @@
|
|||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { DateTimePicker as MyDateTimePicker } from '@strapi/design-system';
|
import { DateTimePicker as MyDateTimePicker } from '@strapi/design-system';
|
||||||
|
|
||||||
|
// TODO: remove DateTimePicker component from the helper-plugin in V5
|
||||||
export default function DateTimePicker(props) {
|
export default function DateTimePicker(props) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
console.log(
|
console.log(
|
||||||
`
|
`
|
||||||
TODO V5: remove DateTimePicker component from the helper-plugin
|
|
||||||
Deprecation warning: Usage of "DateTimePicker" component from the helper-plugin is deprecated and will be removed in the next major release. Instead, use the DateTimePicker from the Design System: import { DateTimePicker } from '@strapi/design-system';"
|
Deprecation warning: Usage of "DateTimePicker" component from the helper-plugin is deprecated and will be removed in the next major release. Instead, use the DateTimePicker from the Design System: import { DateTimePicker } from '@strapi/design-system';"
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user