mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix:globalhotkeys & quick new.
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user