File tree Expand file tree Collapse file tree 3 files changed +3
-17
lines changed
Expand file tree Collapse file tree 3 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ export default function OrganizerClient({ address }: OrganizerClientProps) {
9595 useEffect ( ( ) => {
9696 const params = new URLSearchParams ( searchParams ?. toString ( ) )
9797 params . set ( 'page' , String ( currentPage ) )
98- router . replace ( `/organizer/${ organizerAddress } ?${ params . toString ( ) } ` )
98+ params . set ( 'address' , organizerAddress )
99+ router . replace ( `/organizer?${ params . toString ( ) } ` )
99100 // eslint-disable-next-line react-hooks/exhaustive-deps
100101 } , [ currentPage ] )
101102
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33import { useEffect , useState } from 'react'
44import { useSearchParams } from 'next/navigation'
55import { Suspense } from 'react'
6- import OrganizerClient from './[address]/ OrganizerClient'
6+ import OrganizerClient from './OrganizerClient'
77
88function OrganizerPageContent ( ) {
99 const searchParams = useSearchParams ( )
You can’t perform that action at this time.
0 commit comments