fix:globalhotkeys & quick new.

This commit is contained in:
elforjani3
2021-01-19 12:23:05 +02:00
parent 61e42edc23
commit d14e5d6fa7
3 changed files with 14 additions and 20 deletions

View File

@@ -12,8 +12,8 @@ import quickNewOptions from 'common/quickNewOptions';
function QuickNewDropdown() {
const history = useHistory();
const handleClickQuickNew = ({ id }) => {
history.push(`/${id}`);
const handleClickQuickNew = ({path }) => {
history.push(`/${path}`);
};
return (