feat: Dynamically load xlsx to speed up page loading (#20203)
This commit is contained in:
@@ -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