Skip to content

Commit

Permalink
fix: make autosave just depend on question type, not specific id
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Nov 25, 2024
1 parent 42d14a4 commit 3377b06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function ChoicesEvaluation({
}: ChoicesEvaluationProps) {
return (
<ResizablePanelGroup
autoSaveId={`evaluation-${instanceEvaluation.id}`}
autoSaveId="evaluation-choices"
key={`panel-group-${instanceEvaluation.id}`}
direction="horizontal"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function FTEvaluation({
<>
{showSolution ? (
<ResizablePanelGroup
autoSaveId={`evaluation-${instanceEvaluation.id}`}
autoSaveId="evaluation-ft"
key={`panel-group-${instanceEvaluation.id}`}
direction="horizontal"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function NREvaluation({

return (
<ResizablePanelGroup
autoSaveId={`evaluation-${instanceEvaluation.id}`}
autoSaveId="evaluation-nr"
key={`panel-group-${instanceEvaluation.id}`}
direction="horizontal"
>
Expand Down

0 comments on commit 3377b06

Please sign in to comment.