Skip to content

Commit 3ca5bf5

Browse files
committed
fix(credits): enable translate-credits
1 parent 0ed15a1 commit 3ca5bf5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/pages/credits.tsx

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ export const getStaticProps = (async () => {
1515
avatarUrl: string;
1616
}> = [];
1717

18-
// const res = await fetch('https://translate-credits.stats.fm', {
19-
// signal: AbortSignal.timeout(5_000),
20-
// });
21-
// const translatorCredits = (await res.json()) as {
22-
// id: number;
23-
// username: string;
24-
// firstName: string | null;
25-
// lastName: string | null;
26-
// joinDate: string;
27-
// role: string;
28-
// avatarUrl: string;
29-
// }[];
18+
const res = await fetch('https://translate-credits.stats.fm', {
19+
signal: AbortSignal.timeout(5_000),
20+
});
21+
const translatorCredits = (await res.json()) as {
22+
id: number;
23+
username: string;
24+
firstName: string | null;
25+
lastName: string | null;
26+
joinDate: string;
27+
role: string;
28+
avatarUrl: string;
29+
}[];
3030
const credits = [
3131
{
3232
name: 'Translators',

0 commit comments

Comments
 (0)