From fe908fcb3865a079a3670c36b10d7bd8e079e609 Mon Sep 17 00:00:00 2001 From: raynerljm Date: Wed, 15 Nov 2023 15:28:13 +0800 Subject: [PATCH] fix: fix build issues --- frontend/app/src/features/room/api/usePostLeaveRoom.tsx | 1 - frontend/app/src/features/room/components/code/Collaborator.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/src/features/room/api/usePostLeaveRoom.tsx b/frontend/app/src/features/room/api/usePostLeaveRoom.tsx index ed1391cd..9bddb421 100644 --- a/frontend/app/src/features/room/api/usePostLeaveRoom.tsx +++ b/frontend/app/src/features/room/api/usePostLeaveRoom.tsx @@ -1,6 +1,5 @@ import { backendApi } from "@/lib/axios"; import { useMutation } from "@tanstack/react-query"; -import { useAuth } from "@/hooks/useAuth"; import { useToast } from "@chakra-ui/react"; import { z } from "zod"; import { makeSuccessResponseSchema } from "@/lib/api"; diff --git a/frontend/app/src/features/room/components/code/Collaborator.tsx b/frontend/app/src/features/room/components/code/Collaborator.tsx index ac57afd5..a3c57c45 100644 --- a/frontend/app/src/features/room/components/code/Collaborator.tsx +++ b/frontend/app/src/features/room/components/code/Collaborator.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useRef, useState, MouseEvent } from "react"; -import { useLocation, useParams } from "react-router-dom"; +import { useLocation } from "react-router-dom"; import { Box, Text,