Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oiviana committed Aug 22, 2024
1 parent 65974e4 commit ec8b1b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ function Footer({
const _logo = layout?.hide?.logo ? <></> : <Logo logo={logo} />;
const _newsletter = layout?.hide?.newsletter ? <></> : (
<Newsletter
content={newsletter}
title={newsletter.title}
description={newsletter.description}
form={newsletter.form}
layout={{
tiled: layout?.variation == "Variation 4" ||
layout?.variation == "Variation 5",
Expand Down
1 change: 1 addition & 0 deletions components/footer/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export interface Props {
description?: string;
form?: Form;
layout?: {
tiled?: boolean;
headerFontSize?: "Large" | "Normal";
content?: {
border?: boolean;
Expand Down
1 change: 1 addition & 0 deletions components/search/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ function SearchResult({ page, ...props }: Props) {
if (page) {
return <Result {...props} page={page} />;
}
return null;
}

export default SearchResult;
3 changes: 2 additions & 1 deletion components/ui/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export type AvailableIcons =
| "JCB"
| "WhatsApp"
| "XMark"
| "Zoom";
| "Zoom"
| "American Express";

interface Props extends JSX.SVGAttributes<SVGSVGElement> {
/**
Expand Down

0 comments on commit ec8b1b0

Please sign in to comment.