Skip to content

Commit

Permalink
default name
Browse files Browse the repository at this point in the history
ankushKun committed Jun 18, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
1 parent a1a6e21 commit 26e0952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next_app/src/components/side-bar.tsx
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ export default function SideBar({ collapsed, setCollapsed, manager }: { collapse
</Button>
<Button
onClick={() => {
const newName = prompt("Enter the new name for the file");
const newName = prompt("Enter the new name for the file", fname);
if (!newName) return;
const p = manager.getProject(pname);
const oldFile = p.files[fname];

0 comments on commit 26e0952

Please sign in to comment.