From 8ae5bb8622d5b17ff1eb0731aa00e42304b03344 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Wed, 26 Jul 2023 20:20:07 +0200 Subject: [PATCH] lint --- components/download/Download.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/download/Download.tsx b/components/download/Download.tsx index 89006d1..72da2e4 100644 --- a/components/download/Download.tsx +++ b/components/download/Download.tsx @@ -7,20 +7,20 @@ import { SharedSliceVariation, FilledLinkToWebField, SelectField, -} from "@prismicio/types"; -import React from "react"; -import { ArchifiltreVersions } from "../../utils"; +} from '@prismicio/types'; +import React from 'react'; +import { ArchifiltreVersions } from '../../utils'; import { SlicedPrismicDocument, WithPrismicSlicedContent, -} from "../../utils/prismic/types"; -import { Page } from "../common/Page"; -import { DownloadProductItem } from "./DownloadProdutItemProps"; +} from '../../utils/prismic/types'; +import { Page } from '../common/Page'; +import { DownloadProductItem } from './DownloadProdutItemProps'; type DownloadSlicePrimary = { changelog: RichTextField; documentation: FilledLinkToWebField; - key: SelectField<"docs" | "mails">; + key: SelectField<'docs' | 'mails'>; title: KeyTextField; }; @@ -51,7 +51,7 @@ export const Download = ({ content, productVersions }: DownloadProps) => { const productOrError = productVersions[slice.primary.key]; - if (typeof productOrError === "string") { + if (typeof productOrError === 'string') { return {productOrError}; }