docs: fix typo in migration guide (#401)

This commit is contained in:
a-kriya 2023-01-22 03:18:47 +05:30 committed by GitHub
parent 9e94bc7289
commit 14db8da270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ import CMS from '@staticcms/core';
- `date` widget has been removed
- `datetime` widget
- `dateFormat` has been removed (Use `date_format` instead)
- `timeFormat` has been removed (Use `time_foramt` instead)
- `timeFormat` has been removed (Use `time_format` instead)
- Gitlab, Client-Side Implicit Grant has been removed
- `createClass` is deprecated, [functional components](https://reactjs.org/docs/components-and-props.html#function-and-class-components) should be used instead. Basic react hooks are provided as globals now.
- `getAsset` is deprecated, the new `useMediaAsset` hook should be used instead. See [Interacting With The Media Library](/docs/custom-widgets#interacting-with-the-media-library).