diff --git a/src/blocks/javascript/view.tsx b/src/blocks/javascript/view.tsx index 54202581..5806c894 100644 --- a/src/blocks/javascript/view.tsx +++ b/src/blocks/javascript/view.tsx @@ -69,7 +69,7 @@ export default function View(props: ViewProps) { let convertedData = val if (convertedData instanceof Uint8Array) { - convertedData = new Blob([convertedData.buffer], { type: contentType }) + convertedData = new Blob([convertedData], { type: contentType }) } publishRecord[key][0](convertedData, contentType)