How do you want to allocate funds?
@@ -108,7 +109,7 @@ export const DonationToProject: React.FC = ({
step={0.01}
appendix="$ 0.00"
/>
- >
+
);
case "confirmation":
return <>>;
@@ -136,15 +137,17 @@ export const DonationToProject: React.FC
= ({
{account !== undefined && (
<>
-
-
- {`Donation to ${account.near_social_profile_data?.name}`}
-
-
-
-
- {currentScreen}
-
+ {currentStep !== "done" && (
+
+
+ {currentStep === "confirmation"
+ ? "Confirm donation"
+ : `Donation to ${account.near_social_profile_data?.name}`}
+
+
+ )}
+
+ {content}