Skip to content

Commit 3474fc6

Browse files
committed
recommendedの型修正
1 parent 38e26bf commit 3474fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/app/home/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import CloseIcon from "@mui/icons-material/Close";
4-
import type { User } from "common/types";
4+
import { UserWithCoursesAndSubjects } from "common/types";
55
import { motion, useAnimation } from "framer-motion";
66
import { useCallback, useEffect, useState } from "react";
77
import { MdThumbUp } from "react-icons/md";
@@ -21,7 +21,7 @@ export default function Home() {
2121
} = useMyID();
2222

2323
const [_, rerender] = useState({});
24-
const [recommended, setRecommended] = useState<Queue<User>>(
24+
const [recommended, setRecommended] = useState<Queue<UserWithCoursesAndSubjects>>(
2525
() => new Queue([]),
2626
);
2727
useEffect(() => {

0 commit comments

Comments
 (0)