liwen zeng
liwen zeng
The code is fine,but my operation has some problem.Before 'createInvoice' button , I have not choosed 'Set the invoice status'.
from 1 to 2 Search also change.but it does not say. export default function Search({ placeholder }: { placeholder: string }) { export default function Search() {
change it to: `'use client'; import { MagnifyingGlassIcon } from '@heroicons/react/24/outline'; import { usePathname, useRouter, useSearchParams } from 'next/navigation'; export default function Search({ placeholder }: { placeholder: string }) {...
I put the code `const pathname = usePathname(); const { replace } = useRouter();` in function
where is your code, eg:github. we could compare the code.