Skip to content

Commit 743a3c4

Browse files
committed
Fix unterminated string literals
1 parent 88d7556 commit 743a3c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

peerprep/app/questions/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ async function QuestionsPage() {
1515
{
1616
method: "GET",
1717
headers: generateAuthHeaders(),
18+
cache: "no-store",
1819
},
1920
).then((res) => res.json());
2021

peerprep/contexts/QuestionFilterContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const useQuestionFilter = (): QuestionFilterContextType => {
4747
const context = useContext(QuestionFilterContext);
4848
if (!context) {
4949
throw new Error(
50-
"useQuestionFilter must be used within a QuestionFilterProvider,
50+
"useQuestionFilter must be used within a QuestionFilterProvider",
5151
);
5252
}
5353
return context;

0 commit comments

Comments
 (0)