diff --git a/app/packages/app/src/pages/datasets/DatasetPage.tsx b/app/packages/app/src/pages/datasets/DatasetPage.tsx index 0632e90948..15bcdd5cd7 100644 --- a/app/packages/app/src/pages/datasets/DatasetPage.tsx +++ b/app/packages/app/src/pages/datasets/DatasetPage.tsx @@ -1,4 +1,4 @@ -import { Dataset, Snackbar, Starter } from "@fiftyone/core"; +import { Dataset, Snackbar, Starter, QueryPerformanceToast } from "@fiftyone/core"; import "@fiftyone/embeddings"; import "@fiftyone/map"; import { OperatorCore } from "@fiftyone/operators"; @@ -10,7 +10,6 @@ import { usePreloadedQuery } from "react-relay"; import { useRecoilValue } from "recoil"; import { graphql } from "relay-runtime"; import Nav from "../../components/Nav"; -import QueryPerformanceToast from "../../components/QueryPerformanceToast"; import type { Route } from "../../routing"; import style from "../index.module.css"; import type { DatasetPageQuery } from "./__generated__/DatasetPageQuery.graphql"; diff --git a/app/packages/app/src/components/QueryPerformanceToast.tsx b/app/packages/core/src/components/QueryPerformanceToast.tsx similarity index 83% rename from app/packages/app/src/components/QueryPerformanceToast.tsx rename to app/packages/core/src/components/QueryPerformanceToast.tsx index 089756e2da..f7c7ec0a03 100644 --- a/app/packages/app/src/components/QueryPerformanceToast.tsx +++ b/app/packages/core/src/components/QueryPerformanceToast.tsx @@ -44,7 +44,12 @@ const QueryPerformanceToast = () => { return createPortal( { return ( @@ -64,6 +74,7 @@ const QueryPerformanceToast = () => { return (