Skip to content

Commit

Permalink
fix(credits): enable translate-credits
Browse files Browse the repository at this point in the history
  • Loading branch information
saa committed Sep 27, 2024
1 parent 0ed15a1 commit 3ca5bf5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/pages/credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ export const getStaticProps = (async () => {
avatarUrl: string;
}> = [];

// const res = await fetch('https://translate-credits.stats.fm', {
// signal: AbortSignal.timeout(5_000),
// });
// const translatorCredits = (await res.json()) as {
// id: number;
// username: string;
// firstName: string | null;
// lastName: string | null;
// joinDate: string;
// role: string;
// avatarUrl: string;
// }[];
const res = await fetch('https://translate-credits.stats.fm', {
signal: AbortSignal.timeout(5_000),
});
const translatorCredits = (await res.json()) as {
id: number;
username: string;
firstName: string | null;
lastName: string | null;
joinDate: string;
role: string;
avatarUrl: string;
}[];
const credits = [
{
name: 'Translators',
Expand Down

0 comments on commit 3ca5bf5

Please sign in to comment.