Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Nov 8, 2024
1 parent 73b4553 commit 150010b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 1 addition & 6 deletions app/carnival/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import EventBanner from "./_components/EventBanner";
import { fetchIssues } from "@/lib/api/issues";
import { fetchProjects } from "@/lib/api/projects";
import LeaderboardTable from "@/components/leaderboard/table";
import { CARNIVAL_WIP_ISSUES, CARNIVAL_CLOSED_ISSUES } from "@/data/carnival";

const MOCKED_WEEKLY_LEADERBOARD: Leaderboard[] = [
{
Expand Down Expand Up @@ -99,12 +100,6 @@ const MOCKED_TOTAL_LEADERBOARD: Leaderboard[] = [
},
].map((item, idx) => ({ id: idx + 1, ...item }));

export const CARNIVAL_WIP_ISSUES = [185756, 182237, 221983];
export const CARNIVAL_NEW_LISTED_ISSUES = [
317266, 181722, 184659, 387329, 340597,
];
const CARNIVAL_CLOSED_ISSUES = [221964];

export default async function SingleEventPage() {
const filters = initFilters();
const filterOptions = await getFilterOptions().catch((error) => {
Expand Down
2 changes: 1 addition & 1 deletion components/table/row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { createUrl } from "@/utils/url";
import {
CARNIVAL_NEW_LISTED_ISSUES,
CARNIVAL_WIP_ISSUES,
} from "@/app/carnival/page";
} from "@/data/carnival";

const MAX_LABEL_WIDTH = 192;

Expand Down
5 changes: 5 additions & 0 deletions data/carnival.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const CARNIVAL_WIP_ISSUES = [185756, 182237, 221983];
export const CARNIVAL_NEW_LISTED_ISSUES = [
317266, 181722, 184659, 387329, 340597,
];
export const CARNIVAL_CLOSED_ISSUES = [221964];

0 comments on commit 150010b

Please sign in to comment.