https://github.com/code-423n4/2024-07-traitforge/blob/279b2887e3d38bc219a05d332cbcb0655b2dc644/contracts/TraitForgeNft/TraitForgeNft.sol#L212-L213
https://github.com/code-423n4/2024-07-traitforge/blob/279b2887e3d38bc219a05d332cbcb0655b2dc644/contracts/TraitForgeNft/TraitForgeNft.sol#L217-L218
In the mintWithBudget function, the local variable amountMinted is used to increment with each mint but serves no further purpose within the function. This makes the use of amountMinted redundant.
The variable amountMinted is incremented within the while loop but is not used after the loop. Hence, it serves no purpose in the function and can be removed.
Remove the amountMinted variable and its associated increment statement to simplify the code.
