Skip to content

Commit

Permalink
fix: misnamed import
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Jun 23, 2020
1 parent 286759c commit 52a1de1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/pages/analyst/add-facility.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React, {Component} from 'react';
import {graphql} from 'react-relay';
import {addFacilityPageQueryResponse} from 'addFacilityQuery.graphql';
import {addFacilityQueryResponse} from 'addFacilityQuery.graphql';
import DefaultLayout from 'layouts/default-layout';
import AddFacility from 'containers/Facilities/AddFacility';
import {INCENTIVE_ANALYST, ADMIN_GROUP} from 'data/group-constants';

const ALLOWED_GROUPS = [INCENTIVE_ANALYST, ...ADMIN_GROUP];

interface Props {
query: addFacilityPageQueryResponse['query'];
query: addFacilityQueryResponse['query'];
}
class AddFacilityPage extends Component<Props> {
static query = graphql`
Expand Down
4 changes: 2 additions & 2 deletions app/pages/analyst/add-organisation.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React, {Component} from 'react';
import {graphql} from 'react-relay';
import {addOrganisationPageQueryResponse} from 'addOrganisationQuery.graphql';
import {addOrganisationQueryResponse} from 'addOrganisationQuery.graphql';
import DefaultLayout from 'layouts/default-layout';
import AddOrganisation from 'containers/Organisations/AddOrganisation';
import {INCENTIVE_ANALYST, ADMIN_GROUP} from 'data/group-constants';

const ALLOWED_GROUPS = [INCENTIVE_ANALYST, ...ADMIN_GROUP];

interface Props {
query: addOrganisationPageQueryResponse['query'];
query: addOrganisationQueryResponse['query'];
}
class AddOrganisationPage extends Component<Props> {
static query = graphql`
Expand Down

0 comments on commit 52a1de1

Please sign in to comment.