Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit 82d1e43

Browse files
Format files (#396)
Co-authored-by: filiptronicek <[email protected]>
1 parent d6f8f0e commit 82d1e43

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

components/ContributorList.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const ContributorList = () => {
2020
{
2121
login: "interclip",
2222
type: "User",
23-
avatar_url: proxied("https://avatars.githubusercontent.com/u/87187104?v=4"),
23+
avatar_url: proxied(
24+
"https://avatars.githubusercontent.com/u/87187104?v=4"
25+
),
2426
html_url: "https://github.com/interclip",
2527
},
2628
]);

lib/image.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const proxied = (url: string, width?: number, height?: number) => {
2-
if (!width || !height) {
3-
return `https://images.weserv.nl/?url=${url}`;
4-
}
5-
6-
return `https://images.weserv.nl/?url=${url}&w=${width}&h=${height}`;
7-
};
2+
if (!width || !height) {
3+
return `https://images.weserv.nl/?url=${url}`;
4+
}
5+
6+
return `https://images.weserv.nl/?url=${url}&w=${width}&h=${height}`;
7+
};

0 commit comments

Comments
 (0)