From 8f81da7590020ab91e41daafdb133bdd870d5fd2 Mon Sep 17 00:00:00 2001 From: Snorre Eskeland Brekke Date: Fri, 25 Nov 2022 16:14:38 +0100 Subject: [PATCH] fix: renamed import --- src/components/DocumentList/index.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/DocumentList/index.tsx b/src/components/DocumentList/index.tsx index c30b4a54..6d8deedb 100644 --- a/src/components/DocumentList/index.tsx +++ b/src/components/DocumentList/index.tsx @@ -1,13 +1,7 @@ import type {SanityDocument} from '@sanity/client' import {Box, Button, Card, Stack, Text} from '@sanity/ui' import React from 'react' -import { - SanityPreview, - SchemaType, - useDocumentStore, - useSchema, - WithReferringDocuments -} from 'sanity' +import {Preview, SchemaType, useDocumentStore, useSchema, WithReferringDocuments} from 'sanity' import {useIntentLink} from 'sanity/router' type Props = { @@ -72,7 +66,7 @@ const ReferringDocument = (props: {doc: SanityDocument; schemaType?: SchemaType} return schemaType ? ( ) : (