Skip to content

Commit

Permalink
double quote import libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jona42-ui committed Aug 15, 2023
1 parent 9abc8d5 commit f287d57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 4 additions & 1 deletion src/attachments-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface UploadedFile {
fileType: string;
fileDescription: string;
status?: "uploading" | "complete";

Check failure on line 8 in src/attachments-types.ts

View workflow job for this annotation

GitHub Actions / build

Delete `··⏎`
}

Check failure on line 10 in src/attachments-types.ts

View workflow job for this annotation

GitHub Actions / build

Delete `··`
export interface Attachment {
Expand All @@ -15,11 +16,13 @@ export interface Attachment {
dateTime: string;
bytesMimeType: string;
bytesContentFamily: string;

Check failure on line 19 in src/attachments-types.ts

View workflow job for this annotation

GitHub Actions / build

Delete `⏎`
}
export interface AttachmentResponse {
bytesContentFamily: string;
bytesMimeType: string;
comment: string;
dateTime: string;
uuid: string;

Check failure on line 26 in src/attachments-types.ts

View workflow job for this annotation

GitHub Actions / build

Delete `⏎`
}

}
2 changes: 1 addition & 1 deletion src/attachments/attachments.resource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ export function deleteAttachmentPermanently(
method: "DELETE",
signal: abortController.signal,
});
}
};

Check failure on line 88 in src/attachments/attachments.resource.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `;` with `⏎`

Check failure on line 88 in src/attachments/attachments.resource.tsx

View workflow job for this annotation

GitHub Actions / build

Unnecessary semicolon
9 changes: 3 additions & 6 deletions src/components/drawing-widget/drawing-widget.component.tsx
Original file line number Diff line number Diff line change
@@ -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";


Check failure on line 8 in src/components/drawing-widget/drawing-widget.component.tsx

View workflow job for this annotation

GitHub Actions / build

Delete `⏎`
interface RegionData {
Expand Down Expand Up @@ -54,9 +54,6 @@ const DrawingWidget: React.FC<DrawingWidgetProps> = ({ onExit }) => {
} else {
setLoading(false);
}

return () => {
};
}, []);

useEffect(() => {
Expand Down

0 comments on commit f287d57

Please sign in to comment.