File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
apps/dashboard/src/components/pay Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ const TRACKING_CATEGORY = "token_discovery";
2727export const RouteDiscovery : React . FC = ( ) => {
2828 const [ isSubmitSuccess , setIsSubmitSuccess ] = useState ( false ) ;
2929 const [ isSubmitFail , setIsSubmitFailed ] = useState ( false ) ;
30- const [ routeError , setError ] = useState < string > ( ) ;
3130 const walletChain = useActiveWalletChain ( ) ;
3231
3332 // State to track the selected chain ID directly from the NetworkSelectorButton
@@ -87,7 +86,6 @@ export const RouteDiscovery: React.FC = () => {
8786 } ) ;
8887 } ,
8988 onError : ( err ) => {
90- setError ( err . message ) ;
9189 setIsSubmitFailed ( true ) ;
9290 toast . error ( "Token Submission Failed" ) ;
9391
@@ -135,9 +133,6 @@ export const RouteDiscovery: React.FC = () => {
135133 < p className = "mb-2 text-red-600" >
136134 Please double check the network and token address. If issues persist,
137135 please reach out to our support team.
138- { routeError && (
139- < span className = "mt-1 block text-sm" > Error: { routeError } </ span >
140- ) }
141136 </ p >
142137 </ div >
143138 ) ;
You can’t perform that action at this time.
0 commit comments