Skip to content

Commit

Permalink
other: Removed unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkoelle committed Nov 23, 2020
1 parent 14bd159 commit 74ac862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/containers/FramelessTitleBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const currentWindow = remote.getCurrentWindow();

export default function FramelessTitleBar(props: any) {
// manage window state, default to currentWindow maximized state
const { reload } = props;
// const { reload } = props;
const dispatch = useDispatch();
const workspacePath = useSelector((state: any) => state.workspace.path);
const [oldPath, setOldPath] = useState<string>();
Expand Down Expand Up @@ -274,7 +274,7 @@ export default function FramelessTitleBar(props: any) {
fse.moveSync(from, to);
});
}
reload();
// reload();
setOpenMoveFilesDialog(false);
}}
color="primary"
Expand Down

0 comments on commit 74ac862

Please sign in to comment.