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 27, 2024
1 parent 899e00a commit 0a3b8db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Projekte/Daten/Erfkrit/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { useQueryClient } from '@tanstack/react-query'
import { RadioButtonGroup } from '../../../shared/RadioButtonGroup.jsx'
import { TextField } from '../../../shared/TextField.jsx'
import { FormTitle } from '../../../shared/FormTitle/index.jsx'
import query from './query.js'
import queryLists from './queryLists'
import { query } from './query.js'
import { queryLists } from './queryLists.js'
import { StoreContext } from '../../../../storeContext.js'
import { ifIsNumericAsNumber } from '../../../../modules/ifIsNumericAsNumber.js'
import { ErrorBoundary } from '../../../shared/ErrorBoundary.jsx'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projekte/Daten/Erfkrit/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { gql } from '@apollo/client'

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

export default gql`
export const query = gql`
query erfkritByIdQuery($id: UUID!) {
erfkritById(id: $id) {
...ErfkritFields
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projekte/Daten/Erfkrit/queryLists.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { gql } from '@apollo/client'

export default gql`
export const queryLists = gql`
query ErfkritListsQuery {
allApErfkritWertes(orderBy: SORT_ASC) {
nodes {
Expand Down

0 comments on commit 0a3b8db

Please sign in to comment.