Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Aug 5, 2024
1 parent 3d2e913 commit f98d8b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ import {AssetFilterState} from '../assets/useAssetDefinitionFilterState.oss';
import {DEFAULT_MAX_ZOOM, SVGViewport} from '../graph/SVGViewport';
import {useAssetLayout} from '../graph/asyncGraphLayout';
import {closestNodeInDirection, isNodeOffscreen} from '../graph/common';
import {DefinitionTag} from '../graphql/types';
import {useQueryAndLocalStoragePersistedState} from '../hooks/useQueryAndLocalStoragePersistedState';
import {PageLoadTrace} from '../performance';
import {
Expand Down Expand Up @@ -105,7 +104,7 @@ export const AssetGraphExplorer = (props: Props) => {

const {explorerPath, onChangeExplorerPath} = props;

const {button, filterBar, computeKindTagsFilter, storageKindTagsFilter} =
const {button, filterBar, computeKindTagsFilter} =
useAssetGraphExplorerFilters({
nodes: React.useMemo(
() => (fullAssetGraphData ? Object.values(fullAssetGraphData.nodes) : []),
Expand Down Expand Up @@ -154,7 +153,6 @@ export const AssetGraphExplorer = (props: Props) => {
filterBar={filterBar}
filterButton={button}
computeKindTagsFilter={computeKindTagsFilter}
storageKindTagsFilter={storageKindTagsFilter}
{...props}
/>
);
Expand All @@ -174,7 +172,6 @@ type WithDataProps = Props & {
isGlobalGraph?: boolean;
trace?: PageLoadTrace;
computeKindTagsFilter?: StaticSetFilter<string>;
storageKindTagsFilter?: StaticSetFilter<DefinitionTag>;
};

const AssetGraphExplorerWithData = ({
Expand All @@ -192,7 +189,6 @@ const AssetGraphExplorerWithData = ({
filterBar,
assetFilterState,
isGlobalGraph = false,
storageKindTagsFilter,
computeKindTagsFilter,
trace,
}: WithDataProps) => {
Expand Down Expand Up @@ -634,7 +630,6 @@ const AssetGraphExplorerWithData = ({
definition={graphNode.definition}
selected={selectedGraphNodes.includes(graphNode)}
computeKindTagsFilter={computeKindTagsFilter}
storageKindTagsFilter={storageKindTagsFilter}
/>
</AssetNodeContextMenuWrapper>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {MinimalNodeStaleDot, StaleReasonsTag, isAssetStale} from '../assets/Stal
import {AssetChecksStatusSummary} from '../assets/asset-checks/AssetChecksStatusSummary';
import {assetDetailsPathForKey} from '../assets/assetDetailsPathForKey';
import {AssetComputeKindTag} from '../graph/KindTags';
import {DefinitionTag} from '../graphql/types';
import {StaticSetFilter} from '../ui/BaseFilters/useStaticSetFilter';
import {markdownToPlaintext} from '../ui/markdownToPlaintext';

Expand Down

0 comments on commit f98d8b4

Please sign in to comment.