Skip to content

Commit

Permalink
parser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meshosk committed Dec 19, 2023
1 parent 152c9f6 commit 9be1d14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/parts/common/DraggableOver.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ConnectPoint, Movable} from "./index";
import Ref from "vue";


export class DraggableOver extends Movable {
Expand Down
2 changes: 1 addition & 1 deletion src/components/services/SerializationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class SerializationService {
let reader = new FileReader();
reader.onload = () => {
// Display the file's contents
resolve(reader.result instanceof String ? <string>reader.result : "");
resolve(typeof reader.result == "string" ? <string>reader.result : "");
};
reader.readAsText(file);
}
Expand Down

0 comments on commit 9be1d14

Please sign in to comment.