shumiland-web/patches
Vadym Samoilenko a33b0883fc fix: Payload 3.81 admin panel + HeroBlock RSC errors
- layout.tsx: replace minimal html wrapper with RootLayout + handleServerFunctions (fixes ConfigProvider not being initialized)
- HeroBlockComponent.tsx: add 'use client' (fixes onClick event handler RSC serialization error)
- patches/@payloadcms__ui@3.81.0.patch: safe optional chaining for useConfig() in PageConfigProvider + ThemeProvider (fixes 'Cannot destructure config/sort' hydration errors)
- ListQueryContext: add proper default value with query:{} (fixes 'Cannot destructure sort of undefined' on users/labels list)
- package.json: register pnpm patch + add dotenv devDependency + remove --turbopack from dev script

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 19:50:20 +01:00
..
@payloadcms__ui@3.81.0.patch fix: Payload 3.81 admin panel + HeroBlock RSC errors 2026-04-04 19:50:20 +01:00