From aadbd08644f3919f73d1cd1d62519583404fe4ac Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Wed, 13 Mar 2024 12:04:37 -0500 Subject: [PATCH] fix nits to deploy to main --- src/pages/player/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/player/index.js b/src/pages/player/index.js index f1f1e5623..594154c49 100644 --- a/src/pages/player/index.js +++ b/src/pages/player/index.js @@ -522,11 +522,11 @@ function Player() { const getLoadoutInSlot = useCallback((slot) => { if (playerData?.equipment?.Id === undefined) { - return "None" + return "None"; } - let loadoutRoot = playerData.equipment.Items.find(i => i._id === playerData.equipment.Id) - let loadoutItem = playerData.equipment.Items.find(i => i.slotId === slot && i.parentId === loadoutRoot._id) + let loadoutRoot = playerData.equipment.Items.find(i => i._id === playerData.equipment.Id); + let loadoutItem = playerData.equipment.Items.find(i => i.slotId === slot && i.parentId === loadoutRoot._id); if (loadoutItem === undefined) { return "None"; @@ -569,8 +569,8 @@ function Player() { return false; } - let itemImage = undefined - let itemLabel = '' + let itemImage = undefined; + let itemLabel = ''; let itemDisplay = getItemDisplay(itemData); if (itemDisplay) { itemImage = itemDisplay.image;