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 88d7556 commit 743a3c4Copy full SHA for 743a3c4
peerprep/app/questions/page.tsx
@@ -15,6 +15,7 @@ async function QuestionsPage() {
15
{
16
method: "GET",
17
headers: generateAuthHeaders(),
18
+ cache: "no-store",
19
},
20
).then((res) => res.json());
21
peerprep/contexts/QuestionFilterContext.tsx
@@ -47,7 +47,7 @@ export const useQuestionFilter = (): QuestionFilterContextType => {
47
const context = useContext(QuestionFilterContext);
48
if (!context) {
49
throw new Error(
50
- "useQuestionFilter must be used within a QuestionFilterProvider,
+ "useQuestionFilter must be used within a QuestionFilterProvider",
51
);
52
}
53
return context;
0 commit comments