From dba86acbd91611fb2cc4cb89d510fca0d570ea4b Mon Sep 17 00:00:00 2001 From: Sebastian Tilsch Date: Fri, 6 Sep 2024 10:04:34 +0200 Subject: [PATCH] fix sparnatural integration --- apps/exhibition-live/package.json | 1 + .../stories/components/QuerySparnatural.tsx | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/exhibition-live/package.json b/apps/exhibition-live/package.json index 30bb62f3..6cf51d18 100644 --- a/apps/exhibition-live/package.json +++ b/apps/exhibition-live/package.json @@ -75,6 +75,7 @@ "@slub/edb-authorities": "workspace:*", "@slub/edb-data-mapping": "workspace:*", "@slub/edb-default-theme": "workspace:*", + "@slub/edb-sparnatural": "workspace:*", "@slub/exhibition-schema": "workspace:*", "@slub/kulinarik-schema": "workspace:*", "@tanstack/table-core": "^8.16.0", diff --git a/apps/exhibition-live/stories/components/QuerySparnatural.tsx b/apps/exhibition-live/stories/components/QuerySparnatural.tsx index 892b54bc..c76610a8 100644 --- a/apps/exhibition-live/stories/components/QuerySparnatural.tsx +++ b/apps/exhibition-live/stories/components/QuerySparnatural.tsx @@ -1,9 +1,5 @@ import { EdbSparnatural } from "@slub/edb-sparnatural"; -import { - useAdbContext, - useGlobalCRUDOptions, - useQuery, -} from "@slub/edb-state-hooks"; +import { useAdbContext, useGlobalCRUDOptions } from "@slub/edb-state-hooks"; import { useCallback, useState } from "react"; import df from "@rdfjs/data-model"; import { fixSparqlOrder, withDefaultPrefix } from "@slub/sparql-schema"; @@ -14,8 +10,9 @@ import { GenericVirtualizedList, } from "@slub/edb-virtualized-components"; import { IRIToStringFn, PrimaryFieldDeclaration } from "@slub/edb-core-types"; -import { debounce, isString } from "lodash"; import get from "lodash/get"; +import debounce from "lodash/debounce"; +import isString from "lodash/isString"; import * as React from "react"; import { ParentSize } from "@visx/responsive"; import NiceModal from "@ebay/nice-modal-react";