cheogram-www
created pr with
cheogram-www/react-compiler-fixes.1
commented
Changes are available at https://tangled.org/mrry.band/cheogram-www on branch react-compiler-fixes.
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:react-compiler-fixes | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:react-compiler-fixes [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:react-compiler-fixesadd comment to patch request:
ssh pr.pico.sh comment cheogram-www:react-compiler-fixes "lgtm!"
Patchset
cheogram-www/react-compiler-fixes.1
Test each file for compilability
Eric Roberts
Fix Account.tsx for react-compiler
2026-11-10T17:11:18ZEric Roberts
Fix Accounts.tsx for react-compiler
2026-11-10T17:23:58ZEric Roberts
Fix Chat.tsx for react-compiler
2026-11-10T17:26:31ZEric Roberts
Fix Chats.tsx for react-compiler
2026-11-10T17:29:12ZEric Roberts
Fix Login.tsx for react-compiler
2026-11-10T17:32:03ZEric Roberts
Fix MessageDebugger.tsx for react-compiler
2026-11-10T17:33:10ZEric Roberts
→ Fix MessageMenuInChat.tsx for react-compiler
2026-11-10T17:33:57ZEric Roberts
Fix Quill.tsx for react-compiler
2026-11-10T17:34:29ZEric Roberts
Fix Register.tsx for react-compiler
2026-11-10T17:35:10ZEric Roberts
2026-11-10T17:36:03Z
Fix MessageMenuInChat.tsx for react-compiler
Eric Roberts
2026-11-10T17:34:29ZThe emoji picker loader hits this compiler error:
(BuildHIR::lowerExpression) Handle Import expressions
Move the loader outside the component.
Semantic diff summary
0 added,
3 modified,
0 signature changed,
0 removed
across 2 analyzed files
+0
-1
scripts/compiler.test.mjs
#
+2
-1
src/components/MessageMenuInChat.tsx
#
| ... | ... | @@ -1,5 +1,6 @@ | |
| 1 | 1 | import * as borogove from "borogove"; | |
| 2 | 2 | import Picker from "@emoji-mart/react"; | |
| 3 | + | import { loadEmojiData } from "../util"; | |
| 3 | 4 | import { Button, Message } from "@chatscope/chat-ui-kit-react"; | |
| 4 | 5 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | |
| 5 | 6 | import { Menu, MenuItem, ListItemIcon, Popover } from "@mui/material"; |
| ... | ... | @@ -149,7 +150,7 @@ export const MessageMenuInChat = ({ | |
| 149 | 150 | onClose={() => setReactionPopover(null)} | |
| 150 | 151 | > | |
| 151 | 152 | <Picker | |
| 152 | - | data={async () => ({ ...(await import("@emoji-mart/data")) })} | |
| 153 | + | data={loadEmojiData} | |
| 153 | 154 | maxFrequentRows={1} | |
| 154 | 155 | onEmojiSelect={(emoji: { native: string }) => { | |
| 155 | 156 | chat.addReaction(m, borogove.Reaction.unicode(emoji.native)); |