Inventory Problem

i got this error

Assets/Scripts/Inventory.cs(134,59): error CS1525: Unexpected symbol `swappedItem’

}
else
{
inventory[prevIndex] = swappedItem;
draggingItem = false
swappedItem = null;
}

Put a semicolon after “draggingItem = false”

} else { inventory[prevIndex] = swappedItem; draggingItem = false; swappedItem = null; }