(emoji: string)
| 95 | }; |
| 96 | |
| 97 | const handleEmojiSelect = (emoji: string) => { |
| 98 | setPageIcon(emoji); |
| 99 | setShowEmojiSelector(false); |
| 100 | |
| 101 | const updatedBlock = updateBlockData(blocks[blockId], { |
| 102 | format: { |
| 103 | page_icon: emoji, |
| 104 | ...blocks[blockId]?.format |
| 105 | } |
| 106 | }); |
| 107 | |
| 108 | updateBlock(updatedBlock); |
| 109 | }; |
| 110 | |
| 111 | const handleRemoveIcon = () => { |
| 112 | setPageIcon(null); |
nothing calls this directly
no test coverage detected