From f287d57562d1205b830877e8c12c5589db1b5df6 Mon Sep 17 00:00:00 2001 From: jona42-ui Date: Tue, 15 Aug 2023 07:35:32 +0300 Subject: [PATCH] double quote import libraries --- src/attachments-types.ts | 5 ++++- src/attachments/attachments.resource.tsx | 2 +- .../drawing-widget/drawing-widget.component.tsx | 9 +++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/attachments-types.ts b/src/attachments-types.ts index b2f9f4a..a8a08a6 100644 --- a/src/attachments-types.ts +++ b/src/attachments-types.ts @@ -5,6 +5,7 @@ export interface UploadedFile { fileType: string; fileDescription: string; status?: "uploading" | "complete"; + } export interface Attachment { @@ -15,6 +16,7 @@ export interface Attachment { dateTime: string; bytesMimeType: string; bytesContentFamily: string; + } export interface AttachmentResponse { bytesContentFamily: string; @@ -22,4 +24,5 @@ export interface AttachmentResponse { comment: string; dateTime: string; uuid: string; -} \ No newline at end of file + +} diff --git a/src/attachments/attachments.resource.tsx b/src/attachments/attachments.resource.tsx index 9fb177b..78cb30e 100644 --- a/src/attachments/attachments.resource.tsx +++ b/src/attachments/attachments.resource.tsx @@ -85,4 +85,4 @@ export function deleteAttachmentPermanently( method: "DELETE", signal: abortController.signal, }); -} \ No newline at end of file +}; \ No newline at end of file diff --git a/src/components/drawing-widget/drawing-widget.component.tsx b/src/components/drawing-widget/drawing-widget.component.tsx index fba1c89..ea167c3 100644 --- a/src/components/drawing-widget/drawing-widget.component.tsx +++ b/src/components/drawing-widget/drawing-widget.component.tsx @@ -1,9 +1,9 @@ import React, { useState, useEffect, useCallback } from "react"; import ReactImageAnnotate, { Annotation } from "react-image-annotate"; import { Add, Crop } from "@carbon/react/icons"; -import { useTranslation } from 'react-i18next'; -import { CardHeader } from '@openmrs/esm-patient-common-lib'; -import { Button } from '@carbon/react'; +import { useTranslation } from "react-i18next"; +import { CardHeader } from "@openmrs/esm-patient-common-lib"; +import { Button } from "@carbon/react"; interface RegionData { @@ -54,9 +54,6 @@ const DrawingWidget: React.FC = ({ onExit }) => { } else { setLoading(false); } - - return () => { - }; }, []); useEffect(() => {