From 81518e10872ea4c397cb06bcc8d8b0708c3f1941 Mon Sep 17 00:00:00 2001 From: Govard Barkhatov Date: Tue, 6 Aug 2024 18:02:51 +0200 Subject: [PATCH] fix: Feedback typo (#36) * rm network name on feedback * rm network name from cancel content --- src/app/components/Modals/FeedbackModal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/components/Modals/FeedbackModal.tsx b/src/app/components/Modals/FeedbackModal.tsx index 88250b77..159bd1ec 100644 --- a/src/app/components/Modals/FeedbackModal.tsx +++ b/src/app/components/Modals/FeedbackModal.tsx @@ -11,7 +11,7 @@ interface FeedbackModalProps { } interface ContentProps { - networkName: string; + networkName?: string; } const SuccessContent: React.FC = ({ networkName }) => { @@ -74,7 +74,7 @@ const SuccessContent: React.FC = ({ networkName }) => { ); }; -const CancelContent: React.FC = ({ networkName }) => { +const CancelContent: React.FC = () => { return (
@@ -119,8 +119,8 @@ const CancelContent: React.FC = ({ networkName }) => {

Your feedback is crucial for us to improve and provide a seamless - experience. Thank you for being a part of our Bitcoin Staking Protocol{" "} - {networkName}! + experience. Thank you for being a part of our Bitcoin Staking + Protocol!

@@ -148,7 +148,7 @@ export const FeedbackModal: React.FC = ({ {type === "success" && } - {type === "cancel" && } + {type === "cancel" && } ); };