From c02fca58726be543214ee88df8d242075d8353da Mon Sep 17 00:00:00 2001 From: Michael Ritter Date: Wed, 28 Feb 2024 17:11:59 -0700 Subject: [PATCH] Remove overridden message export --- src/plugins/recordTypes/person/forms/default.jsx | 8 -------- src/plugins/recordTypes/place/forms/default.jsx | 8 -------- 2 files changed, 16 deletions(-) diff --git a/src/plugins/recordTypes/person/forms/default.jsx b/src/plugins/recordTypes/person/forms/default.jsx index e264bd1..ce61962 100644 --- a/src/plugins/recordTypes/person/forms/default.jsx +++ b/src/plugins/recordTypes/person/forms/default.jsx @@ -1,5 +1,3 @@ -import { defineMessages } from 'react-intl'; - const template = (configContext) => { const { React, @@ -208,11 +206,5 @@ const template = (configContext) => { }; export default (configContext) => ({ - messages: defineMessages({ - name: { - id: 'form.person.default.name', - defaultMessage: 'Standard Template', - }, - }), template: template(configContext), }); diff --git a/src/plugins/recordTypes/place/forms/default.jsx b/src/plugins/recordTypes/place/forms/default.jsx index aaa919f..0f4c21f 100644 --- a/src/plugins/recordTypes/place/forms/default.jsx +++ b/src/plugins/recordTypes/place/forms/default.jsx @@ -1,5 +1,3 @@ -import { defineMessages } from 'react-intl'; - const template = (configContext) => { const { React, @@ -160,11 +158,5 @@ const template = (configContext) => { }; export default (configContext) => ({ - messages: defineMessages({ - name: { - id: 'form.place.default.name', - defaultMessage: 'Standard Template', - }, - }), template: template(configContext), });