Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgr committed Feb 28, 2025
1 parent a0f334b commit 0c89a0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/components/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const Image = forwardRef<HTMLImageElement, Props>((props, ref) => {
)}
<img
{...props}
data-fresh-disable-lock={true}
data-fresh-disable-lock
preload={undefined}
src={props.src}
srcSet={srcSet}
Expand Down
2 changes: 1 addition & 1 deletion website/components/Picture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Source = forwardRef<HTMLSourceElement, SourceProps>(
)}
<source
{...props}
data-fresh-disable-lock={true}
data-fresh-disable-lock
preload={undefined}
src={undefined} // Avoid deprecated api lighthouse warning
srcSet={srcSet}
Expand Down
4 changes: 3 additions & 1 deletion website/sections/Rendering/Deferred.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ const Deferred = (props: Props) => {
if (display) {
return (
<>
{sections.map(({ Component, props }) => <Component {...props} />)}
{sections.map(({ Component, props }, index) => (
<Component key={index} {...props} />
))}
</>
);
}
Expand Down

0 comments on commit 0c89a0b

Please sign in to comment.