Skip to content

Commit

Permalink
rename query
Browse files Browse the repository at this point in the history
  • Loading branch information
barbalex committed Aug 21, 2024
1 parent eda9b74 commit 4b41d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Projekte/Karte/ClickListener.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const ClickListener = () => {
const circle = ellipse(coordinates, radius, radius, options)
markierungenData = await client.query({
query: gql`
query karteMarkierungesQuery($polygon: GeoJSON!) {
query KarteClickListenerQuery($polygon: GeoJSON!) {
allMarkierungens(
filter: { wkbGeometry: { coveredBy: $polygon } }
) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projekte/Karte/layers/Markierungen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const MarkierungenLayer = () => {
const { enqueNotification } = store

const { data, error } = useQuery(gql`
query karteMarkierungesQuery {
query KarteMarkierungensQuery {
allMarkierungens {
nodes {
id: ogcFid
Expand Down

0 comments on commit 4b41d35

Please sign in to comment.