Skip to content

Commit

Permalink
fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Strahinja2112 committed Jan 25, 2024
1 parent 30c7f58 commit 49d5545
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { appDirectoryName, fileEncoding } from "@shared/constants";
import { FileData, FileOrFolderData, FileOrFolderDataFull, NoteInfo } from "@shared/types";
import { FileData, FileOrFolderData, NoteInfo } from "@shared/types";
import { dialog } from "electron";
import { ensureDir, readFile, readdir, remove, stat, writeFile } from "fs-extra";
import { homedir } from "os";
Expand Down Expand Up @@ -126,8 +126,6 @@ export async function renameNote(
success: boolean;
content: string;
}> {
const rootDir = getRootDir();

if (!oldNote) {
return {
success: false,
Expand Down

0 comments on commit 49d5545

Please sign in to comment.