Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danburonline committed Mar 8, 2024
1 parent 7abb041 commit b953acc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/subapps/admin/components/Projects/QueryEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import { FC, useEffect, useState } from 'react';
import { Tabs } from 'antd';
import { useHistory, useRouteMatch } from 'react-router';
import {
DEFAULT_ELASTIC_SEARCH_VIEW_ID,
DEFAULT_SPARQL_VIEW_ID,
} from '@bbp/nexus-sdk/es';
import { useNexusContext } from '@bbp/react-nexus';
import { Tabs } from 'antd';
import { FC, useEffect, useState } from 'react';
import { useHistory, useRouteMatch } from 'react-router';
import { useOrganisationsSubappContext } from '../..';
import useNotification from '../../../../shared/hooks/useNotification';
import ElasticSearchQueryView from '../../views/ElasticSearchQueryView';
Expand Down Expand Up @@ -82,7 +79,7 @@ const QueryEditor: FC<{
setActiveKey(tab);
history.replace(
`/${
subapp.namespace
subApp.namespace
}/${orgLabel}/${projectLabel}/query/${encodeURIComponent(
tab === 'sparql'
? DEFAULT_SPARQL_VIEW_ID
Expand Down

0 comments on commit b953acc

Please sign in to comment.