fix(ci): remove headerIcon from AgbsPDF to resolve TS2741
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m53s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-02 18:02:29 +01:00
parent c8ff76f299
commit 984a641b90

View File

@@ -70,16 +70,11 @@ const AGBSection = ({
);
interface AgbsPDFProps {
headerIcon?: string;
footerLogo?: string;
mode?: "estimation" | "full";
}
export const AgbsPDF = ({
headerIcon,
footerLogo,
mode = "full",
}: AgbsPDFProps) => {
export const AgbsPDF = ({ footerLogo, mode = "full" }: AgbsPDFProps) => {
const date = new Date().toLocaleDateString("de-DE", {
year: "numeric",
month: "long",
@@ -226,7 +221,6 @@ export const AgbsPDF = ({
<PDFPage size="A4" style={pdfStyles.page}>
<FoldingMarks />
<Header
icon={headerIcon}
showAddress={false}
sender={companyData as any}
recipient={{} as any}