mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 22:52: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)){
|
if(new Date() >= new Date(storedVersion.expireAt)){
|
||||||
for (let updateSlot = slot - 1; updateSlot>0; updateSlot--){
|
for (let updateSlot = slot - 1; updateSlot>0; updateSlot--){
|
||||||
// Move data from updateSlot to updateSlot + 1
|
// 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
|
// Update the most recent brew
|
||||||
|
|||||||
Reference in New Issue
Block a user