Fix type errors
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
import { DocumentList } from "@/components/DocumentList";
|
||||
import { pb } from "@/lib/pocketbase";
|
||||
import { displayName } from "@/lib/relationships";
|
||||
import type { Document, DocumentId, RelationshipType } from "@/lib/types";
|
||||
import { useQueryClient, useSuspenseQuery } from "@tanstack/react-query";
|
||||
import type { AnyDocument, Document, RelationshipType } from "@/lib/types";
|
||||
import { useState } from "react";
|
||||
import { Loader } from "./Loader";
|
||||
import { DocumentRow } from "./documents/DocumentRow";
|
||||
import { NewRelatedDocumentForm } from "./documents/NewRelatedDocumentForm";
|
||||
|
||||
interface RelationshipListProps {
|
||||
root: Document;
|
||||
items: DocumentId[];
|
||||
root: AnyDocument;
|
||||
items: AnyDocument[];
|
||||
relationshipType: RelationshipType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user