Skip to content

Commit

Permalink
removed log, added title label
Browse files Browse the repository at this point in the history
  • Loading branch information
leejeongwoo committed Feb 17, 2024
1 parent facf20c commit 14d2ccd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app/components/Lectures/Inner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const Inner = ({ courses, lng }: PropsWithLng<{ courses: Course[] }>) => {
);

setRegistrationInfo(registrationInfo);
console.log(registrationInfo);
} else {
setRegistrationInfo(undefined);
}
Expand Down
6 changes: 5 additions & 1 deletion src/app/components/Lectures/RegistrationInfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
YAxis,
} from "recharts";

import { CountStamp, RegistrationInfo } from "./Inner";
import { RegistrationInfo } from "./Inner";

interface RegistrationInfoModalProps {
registrationInfo?: RegistrationInfo;
Expand Down Expand Up @@ -53,6 +53,10 @@ const RegistrationInfoModal = ({
className="flex max-h-full max-w-full animate-bottomUp flex-col bg-white p-2 shadow-lg dark:bg-neutral-800 md:rounded-lg md:p-4"
onClick={(e) => e.stopPropagation()}
>
<div className="flex justify-center">
{registrationInfo.name} / {registrationInfo.subjectCode}-
{registrationInfo.classCode}
</div>
<LineChart
width={800}
height={400}
Expand Down

0 comments on commit 14d2ccd

Please sign in to comment.