FIX: Remove wrong content-type is sharing workbooks
This failed to share workbooks with emojis, for instance
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
3a68145848
commit
198f3108ef
@@ -17,8 +17,7 @@ function ShareWorkbookDialog(properties: {
|
||||
const generateUrl = async () => {
|
||||
if (properties.model) {
|
||||
const bytes = properties.model.toBytes();
|
||||
const fileName = properties.model.getName();
|
||||
const hash = await shareModel(bytes, fileName);
|
||||
const hash = await shareModel(bytes);
|
||||
setUrl(`${location.origin}/?model=${hash}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user