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 de03424 commit 6635fc1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/Projekte/Daten/Tpopfeldkontr/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import { RadioButtonGroupWithInfo } from '../../../shared/RadioButtonGroupWithIn
import { DateField } from '../../../shared/Date.jsx'
import { StringToCopy } from '../../../shared/StringToCopy.jsx'
import { FormTitle } from '../../../shared/FormTitle/index.jsx'
import TpopfeldkontrentwicklungPopover from '../TpopfeldkontrentwicklungPopover.jsx'
import { TpopfeldkontrentwicklungPopover } from '../TpopfeldkontrentwicklungPopover.jsx'
import { constants } from '../../../../modules/constants.js'
import query from './query.js'
import { query } from './query.js'
import { StoreContext } from '../../../../storeContext.js'
import { Files } from '../../../shared/Files/index.jsx'
import { ifIsNumericAsNumber } from '../../../../modules/ifIsNumericAsNumber.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projekte/Daten/Tpopfeldkontr/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { gql } from '@apollo/client'

import { tpopfeldkontr } from '../../../shared/fragments.js'

export default gql`
export const query = gql`
query tpopkontrByIdQueryForEk($id: UUID!) {
tpopkontrById(id: $id) {
...TpopfeldkontrFields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const LabelPopoverRowColumnRight = styled.div`
padding-left: 5px;
`

const TpopfeldkontrentwicklungPopover = (
export const TpopfeldkontrentwicklungPopover = (
<ErrorBoundary>
<Fragment>
<LabelPopoverTitleRow>Legende</LabelPopoverTitleRow>
Expand Down Expand Up @@ -75,5 +75,3 @@ const TpopfeldkontrentwicklungPopover = (
</Fragment>
</ErrorBoundary>
)

export default TpopfeldkontrentwicklungPopover
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,13 @@ const TpopFeldkontrzaehl = ({ projekt, ap, pop, tpop, tpopkontr }) => {
],
hasChildren: false,
}
console.log('TpopFeldkontrzaehl', { node, el })

return <Row key={el.id} node={node} />
return (
<Row
key={el.id}
node={node}
/>
)
})
}

Expand Down

0 comments on commit 6635fc1

Please sign in to comment.