delete block and close tab working

This commit is contained in:
sawka
2024-05-27 16:33:31 -07:00
parent e6d7a4e674
commit 3f45945cb4
8 changed files with 165 additions and 24 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const Block = ({ tabId, blockId }: { tabId: string; blockId: string }) => {
const [dims, setDims] = React.useState({ width: 0, height: 0 });
function handleClose() {
// TODO
WOS.DeleteBlock(blockId);
}
React.useEffect(() => {