Fix /apps App Market page crash
Imported from GitHub pull request El-SaMa/oma#124 by @El-SaMa.
Summary
- Production
/appsthrew: functions cannot be passed to Client Components (hrefForCategory). - User-facing reference CCKECL (Next digest
3717799991). - Replace the callback prop with a serializable
hubPathstring.
Test plan
- Open https://oma.lanetti.fi/apps after deploy (signed in)
- Category chips switch
?category=without crashing - Public
/app-marketstill works (default hubPath)