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

Commit ffac419

Browse files
committed
fix build
1 parent fa2de5c commit ffac419

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

app/2048/page.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import NavBar from "@/components/nav-bar/nav-bar";
66
import Board from "@/components/game/board";
77
import GameOver from "@/components/game/game-over";
88
import HackRPIButton from "@/components/themed-components/hackrpi-button";
9-
import * as Auth from "@aws-amplify/auth";
109

1110
import { create_leaderboard_entry, is_game_ready } from "@/app/actions";
1211

@@ -324,12 +323,6 @@ export default function Page() {
324323
return true;
325324
};
326325

327-
const is_director = async () => {
328-
const session = await Auth.fetchAuthSession();
329-
const groups = session.tokens?.accessToken.payload["cognito:groups"];
330-
return groups !== undefined;
331-
};
332-
333326
const handleCloseGameOver = () => {
334327
setIsGameOver(false);
335328
setGrid(resetGame());

app/event/schedule/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import type { Event } from "@/data/schedule";
88
import { SATURDAY_END, SATURDAY_START, SUNDAY_END, SUNDAY_START, saturdayTimes, sundayTimes } from "@/data/schedule";
99
import { fetchEvents } from "@/app/actions";
1010

11-
import { generateClient } from "aws-amplify/data";
12-
import type { Schema } from "@/amplify/data/resource";
1311
import HappeningNow from "@/components/schedule/happening-now";
1412
import Schedule from "@/components/schedule/schedule";
1513
import HackRPILink from "@/components/themed-components/hackrpi-link";

0 commit comments

Comments
 (0)