Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 26, 2023
1 parent e95bd33 commit 8ae5bb8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/download/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down Expand Up @@ -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 <span key={index}>{productOrError}</span>;
}

Expand Down

0 comments on commit 8ae5bb8

Please sign in to comment.