Skip to content

Commit

Permalink
import useHistory from react-router-dom (dagster-io#16530)
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm authored and zyd14 committed Sep 15, 2023
1 parent 8e266a5 commit ab3d3d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import {gql, useQuery} from '@apollo/client';
import {Box, Colors, Page, Spinner} from '@dagster-io/ui-components';
import * as React from 'react';
import {useHistory} from 'react-router';
import {useParams} from 'react-router-dom';
import {useHistory, useParams} from 'react-router-dom';

import {useTrackPageView} from '../app/analytics';
import {displayNameForAssetKey} from '../asset-graph/Utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useMutation} from '@apollo/client';
import * as React from 'react';
import {useHistory} from 'react-router';
import {useHistory} from 'react-router-dom';

import {TelemetryAction, useTelemetryAction} from '../app/Telemetry';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
Tooltip,
} from '@dagster-io/ui-components';
import * as React from 'react';
import {useHistory} from 'react-router';
import {useHistory} from 'react-router-dom';

import {PipelineRunTag} from '../app/ExecutionSessionStorage';
import {filterByQuery} from '../app/GraphQueryImpl';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useMutation} from '@apollo/client';
import * as React from 'react';
import {useHistory} from 'react-router';
import {useHistory} from 'react-router-dom';

import {showLaunchError} from '../launchpad/showLaunchError';
import {useRepositoryForRunWithParentSnapshot} from '../workspace/useRepositoryForRun';
Expand Down

0 comments on commit ab3d3d0

Please sign in to comment.