We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e26bf commit 3474fc6Copy full SHA for 3474fc6
web/app/home/page.tsx
@@ -1,7 +1,7 @@
1
"use client";
2
3
import CloseIcon from "@mui/icons-material/Close";
4
-import type { User } from "common/types";
+import { UserWithCoursesAndSubjects } from "common/types";
5
import { motion, useAnimation } from "framer-motion";
6
import { useCallback, useEffect, useState } from "react";
7
import { MdThumbUp } from "react-icons/md";
@@ -21,7 +21,7 @@ export default function Home() {
21
} = useMyID();
22
23
const [_, rerender] = useState({});
24
- const [recommended, setRecommended] = useState<Queue<User>>(
+ const [recommended, setRecommended] = useState<Queue<UserWithCoursesAndSubjects>>(
25
() => new Queue([]),
26
);
27
useEffect(() => {
0 commit comments