MCPcopy Create free account
hub / github.com/PatoSala/react-native-blocks / handleRemoveCover

Function handleRemoveCover

packages/blocks/src/PageBlock.tsx:121–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 };
120
121 const handleRemoveCover = () => {
122 setPageCover(null);
123
124 const block = blocks[blockId];
125 delete block.format.page_cover;
126
127 updateBlock(block);
128 };
129
130 const handleSubmitEditing = () => {
131 const value = getValue();

Callers

nothing calls this directly

Calls 1

updateBlockFunction · 0.85

Tested by

no test coverage detected