Skip to content

Commit

Permalink
add comments on code
Browse files Browse the repository at this point in the history
  • Loading branch information
ong6 committed Oct 8, 2023
1 parent 6e39926 commit af12cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/questions/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Room() {
const router = useRouter();
const questionTitle = router.query.id as string;
const [question, setQuestion] = useState<Question | null>(null);
const [loading, setLoading] = useState(true);
const [loading, setLoading] = useState(true); // to be used later for loading states
const [answer, setAnswer] = useState("");

const { user: currentUser, authIsReady } = useContext(AuthContext);
Expand Down

0 comments on commit af12cef

Please sign in to comment.