Skip to content

Commit

Permalink
fix(build): style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
seth2810 committed Aug 15, 2024
1 parent 6c7db4b commit 98eeaf1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pages/api/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ export default async function handler(
}
}

export const config = {
export const config: PageConfig = {
api: {
responseLimit: false,
},
} satisfies PageConfig;
};
1 change: 1 addition & 0 deletions src/pages/partners/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const BusinessPage: NextPage = () => {
<img
src={solution.image}
className="w-full rounded-2xl object-cover"
alt=""
/>
<div className="absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/images/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ export async function fetchExternalImage(
let res = await fetch(href);

if (!res.ok) {
// eslint-disable-next-line no-console
if (res.status !== 404)
// eslint-disable-next-line no-console
console.error('upstream image response failed for', href, res.status);
if (fallbackImg) {
res = await fetch(fallbackImg);
Expand Down

0 comments on commit 98eeaf1

Please sign in to comment.