We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce2475 commit 83db4c8Copy full SHA for 83db4c8
packages/app/src/app/components/Preview/index.js
@@ -76,6 +76,7 @@ const getDiff = (a, b) => {
76
diff[p] = {
77
code: b[p].code,
78
path: p,
79
+ isBinary: b[p].isBinary,
80
};
81
});
82
@@ -500,6 +501,7 @@ class BasePreview extends React.Component<Props, State> {
500
501
modulesObject[path] = {
502
path,
503
code: m.code,
504
+ isBinary: m.isBinary,
505
506
}
507
@@ -511,6 +513,7 @@ class BasePreview extends React.Component<Props, State> {
511
513
modulesToSend['/package.json'] = {
512
514
code: generateFileFromSandbox(sandbox),
515
path: '/package.json',
516
+ isBinary: false,
517
518
519
0 commit comments