From 7009ef4441cae48066edfff9769becae10a595ec Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sun, 15 Sep 2024 00:47:54 +1200 Subject: [PATCH] Remove unneeded brew.shareId reference --- client/homebrew/utils/versionHistory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/homebrew/utils/versionHistory.js b/client/homebrew/utils/versionHistory.js index 4a3e9c8f7..28f8724b8 100644 --- a/client/homebrew/utils/versionHistory.js +++ b/client/homebrew/utils/versionHistory.js @@ -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