File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { useEffect, useState } from 'react'
22import { useRouter } from 'next/router'
33import { useQueryClient } from '@tanstack/react-query'
44import { Icon } from '~/components/Icon'
5+ import { AUTH_SERVER } from '~/constants'
56import { AccountInfo } from '~/containers/Subscribtion/AccountInfo'
7+ import { useAuthContext } from '~/containers/Subscribtion/auth'
68import { SubscribeLayout } from '~/containers/Subscribtion/Layout'
79import { WalletProvider } from '~/layout/WalletProvider'
8- import { AUTH_SERVER } from '~/constants'
9- import { useAuthContext } from '~/containers/Subscribtion/auth'
1010
1111export default function Account ( ) {
1212 const router = useRouter ( )
@@ -45,12 +45,6 @@ export default function Account() {
4545
4646 await queryClient . invalidateQueries ( { queryKey : [ 'subscription' ] } )
4747 setPaymentStatus ( 'success' )
48-
49- // Remove session_id from URL after successful verification
50- setTimeout ( ( ) => {
51- router . replace ( '/account' , undefined , { shallow : true } )
52- setShowPaymentModal ( false )
53- } , 3000 )
5448 } catch ( err ) {
5549 console . error ( 'Error verifying session:' , err )
5650 setError ( err instanceof Error ? err . message : 'Failed to verify payment' )
You can’t perform that action at this time.
0 commit comments