= ({
}}
/>
+
+ {slippageChoice === "custom" && (
+
+ )}
- {depositAmount.trim() &&
- isPositiveInteger(depositAmount.trim()) &&
- sharePrice !== null &&
- sharePrice !== 0n
- ? `You will receive ~${depositPreviewShares?.toString() ?? "0"} vault shares`
- : "Enter an amount to preview the shares minted."}
+ {estimatedDepositShares === null
+ ? "Enter an amount to preview shares."
+ : `Estimated shares: ${estimatedDepositShares.toString()}`}