From c6e49918dc053c2c77e8ae81587ab30ae24bfc9a Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Mon, 28 Oct 2024 12:08:03 +0100 Subject: [PATCH] use named export --- .../Daten/TpopfreiwkontrFilter/Form/More.jsx | 6 ++---- .../Daten/TpopfreiwkontrFilter/Form/index.jsx | 2 +- .../TpopfreiwkontrFilter/{ => Form}/veghoehe.png | Bin 3 files changed, 3 insertions(+), 5 deletions(-) rename src/components/Projekte/Daten/TpopfreiwkontrFilter/{ => Form}/veghoehe.png (100%) diff --git a/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/More.jsx b/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/More.jsx index dc65b8dad..4518d6496 100644 --- a/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/More.jsx +++ b/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/More.jsx @@ -143,7 +143,7 @@ const Img = styled.img` max-width: inherit; ` -const More = ({ saveToDb, row }) => { +export const More = observer(({ saveToDb, row }) => { const jungpflanzenVorhandenOnSaveFalse = useCallback(() => { const fakeEvent = { target: { @@ -229,6 +229,4 @@ const More = ({ saveToDb, row }) => { (Minimum) ) -} - -export default observer(More) +}) diff --git a/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/index.jsx b/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/index.jsx index 898faaeaa..b5a0665cc 100644 --- a/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/index.jsx +++ b/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/index.jsx @@ -6,7 +6,7 @@ import { Headdata } from './Headdata/index.jsx' import { Date } from './Date.jsx' import { Map } from './Map.jsx' import { Cover } from './Cover.jsx' -import More from './More.jsx' +import { More } from './More.jsx' import Danger from './Danger.jsx' import Remarks from './Remarks.jsx' import EkfRemarks from './EkfRemarks.jsx' diff --git a/src/components/Projekte/Daten/TpopfreiwkontrFilter/veghoehe.png b/src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/veghoehe.png similarity index 100% rename from src/components/Projekte/Daten/TpopfreiwkontrFilter/veghoehe.png rename to src/components/Projekte/Daten/TpopfreiwkontrFilter/Form/veghoehe.png