feat: Dynamically load xlsx to speed up page loading (#20203)
This commit is contained in:
1 parent
9a9b5ef699
commit
87e8d39a90
2 files changed
+10
-20
No files matched your search
@@ -252,7 +252,7 @@ export const getFileContentById = async (id: string) => {
|
||||
})
|
||||
.then(async (res) => {
|
||||
if (!res.ok) throw await res.json();
|
||||
return await res.blob();
|
||||
return await res.arrayBuffer();
|
||||
})
|
||||
.catch((err) => {
|
||||
error = err.detail;
|
||||
|
||||
Reference in new issue
Block a user