Skip to content

Commit ac81cff

Browse files
committed
fix: file save in firefox
1 parent 92f15d1 commit ac81cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/manage-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const saveJSONFile = async ({
3737
draw.addClass('interactive-mode')
3838
drawLayout(draw, content.layout, previewMode)
3939
const blob = new Blob([stringify(content, { space: ' ' }) || ''], {
40-
type: 'application/json;charset=utf-8',
40+
type: 'application/json',
4141
})
4242
fileSave(blob, {
4343
fileName: `${storeContent.info.layout.name || 'Untitled'}.json`,

0 commit comments

Comments
 (0)