Skip to content

Commit

Permalink
Fixing lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcottner committed Feb 14, 2025
1 parent fdca115 commit c674e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/rjsf/Base64File.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ErrorSchema, WidgetProps } from "@rjsf/utils";
import { WidgetProps } from "@rjsf/utils";
import { Dash, Download } from "react-bootstrap-icons";

export default function Base64File({
Expand Down Expand Up @@ -66,7 +66,7 @@ async function getBase64Str(evt, changeCallback) {

console.log("#### alex foo getBase64Str 2");

const readPromise = new Promise<String>((res, rej) => {
const readPromise = new Promise<string>((res, rej) => {
const reader = new FileReader();
reader.onloadend = () => res(reader.result);
reader.onerror = rej;
Expand Down

0 comments on commit c674e2b

Please sign in to comment.