Skip to content

Commit a4d00a2

Browse files
rainerstudiosclaude
andcommitted
Fix duplicate inspectLink declaration
Removed duplicate const declaration that was causing syntax error. The inspectLink variable is already declared earlier in the function. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 23e6626 commit a4d00a2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cs2-float-checker-release-v1.0.2/lib/inventoryEnhancer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ async function enhanceInventoryItem(itemInfoContent, panelId) {
137137

138138
console.log('✅ Extracted float data:', floatData);
139139

140-
// Get inspect link for additional features
141-
const inspectLink = getInspectLinkFromInventoryItem(itemInfoContent);
140+
// Note: inspectLink already extracted above, reusing it
142141

143142
// Add enhancement to the item info panel
144143
await addInventoryEnhancement(itemInfoContent, floatData, itemName, inspectLink);

0 commit comments

Comments
 (0)