fix three day streak bug with incorrect variable (#370)

This commit is contained in:
Matthew Piatetsky
2021-02-25 12:05:33 -05:00
committed by GitHub
parent 2525805aac
commit a9939a1b5e

View File

@@ -19,7 +19,7 @@ function recordModalClosing(metadataModel, celebrations, org, courseId, dispatch
modelType: metadataModel,
model: {
id: courseId,
celebrations: { ...celebrations, shouldCelebrateStreak: false },
celebrations: { ...celebrations, streakLengthToCelebrate: null },
},
}));
}