Merge remote-tracking branch 'origin/dev' into two_edges

This commit is contained in:
ogabrielluiz 2024-06-18 14:51:19 -03:00
commit 584cd59961
11 changed files with 85 additions and 66 deletions

View file

@ -136,6 +136,7 @@ export const useFolderStore = create<FoldersStoreType>((set, get) => ({
return new Promise<void>((resolve, reject) => {
const input = document.createElement("input");
input.type = "file";
input.accept = ".json";
input.onchange = (event: Event) => {
if (
(event.target as HTMLInputElement).files![0].type ===