Skip to content

Commit

Permalink
use named export
Browse files Browse the repository at this point in the history
  • Loading branch information
barbalex committed Oct 28, 2024
1 parent 811551e commit 51db7b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/components/Projekte/Daten/Tpopfreiwkontr/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const fieldTypes = {
ekfBemerkungen: 'String',
}

const TpopfreiwkontrForm = ({ data, refetch, row, apId }) => {
export const Form = observer(({ data, refetch, row, apId }) => {
const client = useApolloClient()
const queryClient = useQueryClient()

Expand Down Expand Up @@ -491,6 +491,4 @@ const TpopfreiwkontrForm = ({ data, refetch, row, apId }) => {
{!isPrint && <div style={{ height: '64px' }} />}
</FormContainer>
)
}

export default observer(TpopfreiwkontrForm)
})
2 changes: 1 addition & 1 deletion src/components/Projekte/Daten/Tpopfreiwkontr/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { FormTitle } from '../../../shared/FormTitle/index.jsx'
import { StoreContext } from '../../../../storeContext.js'
import { Error } from '../../../shared/Error.jsx'
import { Spinner } from '../../../shared/Spinner.jsx'
import Form from './Form.jsx'
import { Form } from './Form.jsx'

const Container = styled.div`
flex-grow: 0;
Expand Down

0 comments on commit 51db7b1

Please sign in to comment.