mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: run prettier for phase 03 checklist
This commit is contained in:
@@ -104,11 +104,7 @@ export default function FileDropZone({ onFileContent }: FileDropZoneProps) {
|
||||
reader.readAsText(file);
|
||||
};
|
||||
|
||||
const borderClass = error
|
||||
? "border-spam/70"
|
||||
: isDragging
|
||||
? "border-info"
|
||||
: "border-info/40";
|
||||
const borderClass = error ? "border-spam/70" : isDragging ? "border-info" : "border-info/40";
|
||||
const surfaceClass = isDragging ? "bg-surface" : "bg-surface/70";
|
||||
|
||||
return (
|
||||
|
||||
@@ -4,10 +4,7 @@ import { type FormEvent, useEffect, useId, useRef, useState } from "react";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faXmark } from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
import {
|
||||
MAX_HEADER_INPUT_BYTES,
|
||||
validateHeaderInput,
|
||||
} from "../lib/header-validation";
|
||||
import { MAX_HEADER_INPUT_BYTES, validateHeaderInput } from "../lib/header-validation";
|
||||
|
||||
type HeaderInputProps = {
|
||||
value: string;
|
||||
|
||||
Reference in New Issue
Block a user