mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 11:42:39 +00:00
Remove unneeded brew.shareId reference
This commit is contained in:
@@ -98,7 +98,7 @@ export function updateHistory(brew) {
|
||||
if(new Date() >= new Date(storedVersion.expireAt)){
|
||||
for (let updateSlot = slot - 1; updateSlot>0; updateSlot--){
|
||||
// Move data from updateSlot to updateSlot + 1
|
||||
updateStoredBrew({ ...history[updateSlot], shareId: brew.shareId }, updateSlot + 1);
|
||||
updateStoredBrew(history[updateSlot], updateSlot + 1);
|
||||
};
|
||||
|
||||
// Update the most recent brew
|
||||
|
||||
Reference in New Issue
Block a user