File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/settingComponents Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default function UpgradeBox() {
2525 const session = await request ( url , 'POST' , body ) ;
2626
2727 if ( session . error ) {
28- toast . error ( 'Payment session failed' ) ;
28+ // toast.error('Payment session failed');
2929 console . log ( 'Creating the stripe session failed' ) ;
3030 return ;
3131 }
@@ -35,11 +35,11 @@ export default function UpgradeBox() {
3535 } ) ;
3636
3737 if ( result . error ) {
38- toast . error ( result . error . message ) ;
38+ // toast.error(result.error.message);
3939 console . log ( result . error . message ) ;
4040 }
4141 } catch ( error ) {
42- toast . error ( 'Internal Error on our end please try again later' ) ;
42+ // toast.error('Internal Error on our end please try again later');
4343 }
4444 setLoading ( - 1 ) ;
4545 } ;
You can’t perform that action at this time.
0 commit comments