fix: await params Promise in blog and wiki [slug] pages for Next.js 16

- blog/[slug]/page.tsx: fix params type to Promise and await it
- wiki/[slug]/page.tsx: fix params type to Promise and await it + Fix API port from 4000 to 4001
- blog/page.tsx: fix fallback API URL from port 4000 to 4001
This commit is contained in:
parsa aghaei committed 2026-07-11 15:51:29 +03:30
1 parent 3aebb9e176
commit ab7ed279c8
5 files changed
+14 -10

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB