fix: Show content on upload file
This commit is contained in:
1 parent
0577dc2990
commit
88f97372d9
2 files changed
+6
-6
No files matched your search
@@ -394,7 +394,7 @@
|
||||
|
||||
const updateFileContentHandler = async () => {
|
||||
const fileId = selectedFile.id;
|
||||
const content = selectedFile.data.content;
|
||||
const content = selectedFileContent
|
||||
|
||||
const res = updateFileDataContentById(localStorage.token, fileId, content).catch((e) => {
|
||||
toast.error(`${e}`);
|
||||
|
||||
Reference in new issue
Block a user