mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-25 21:08:22 +00:00
Restore the string-pass-through in propsToParams that #9931 removed. When every param value (including strings) is JSON.stringify'd, expo-router consumers that read useLocalSearchParams as raw strings end up with literally-quoted values (e.g. rootId "abc123" -> `"abc123"`). This breaks the thread screen entirely: the extra-quoted rootId misses in observePost, rootPost stays undefined, and ThreadContent is never rendered. It also shows up visually as `in "channel name"` in the thread header subtitle. Reverts the runtime change and companion test-expectation changes from #9931. The numeric-string-round-trip issue #9931 was addressing should be fixed on the receive side instead (see follow-up). Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| index.test.ts | ||
| index.tsx | ||