diff --git a/examples/getstarted/src/plugins/mycustomfields/admin/src/components/Map/MapInput/index.js b/examples/getstarted/src/plugins/mycustomfields/admin/src/components/Map/MapInput/index.js deleted file mode 100644 index d49d65a00a..0000000000 --- a/examples/getstarted/src/plugins/mycustomfields/admin/src/components/Map/MapInput/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; - -const ColorPickerInput = () => { - return
TODO: Map Input Component
; -}; - -export default ColorPickerInput; diff --git a/examples/getstarted/src/plugins/mycustomfields/server/register.js b/examples/getstarted/src/plugins/mycustomfields/server/register.js index df0edc249f..8c53ed7241 100644 --- a/examples/getstarted/src/plugins/mycustomfields/server/register.js +++ b/examples/getstarted/src/plugins/mycustomfields/server/register.js @@ -1,16 +1,9 @@ 'use strict'; module.exports = ({ strapi }) => { - strapi.customFields.register([ - { - name: 'color', - plugin: 'mycustomfields', - type: 'string', - }, - { - name: 'map', - plugin: 'mycustomfields', - type: 'json', - }, - ]); + strapi.customFields.register({ + name: 'color', + plugin: 'mycustomfields', + type: 'string', + }); };