@ -134,9 +134,13 @@ function DocumentMenu({
|
|||||||
[showToast, t, document]
|
[showToast, t, document]
|
||||||
);
|
);
|
||||||
|
|
||||||
const handlePrint = React.useCallback((ev: SyntheticEvent<>) => {
|
const handlePrint = React.useCallback(
|
||||||
|
(ev: SyntheticEvent<>) => {
|
||||||
|
menu.hide();
|
||||||
window.print();
|
window.print();
|
||||||
}, []);
|
},
|
||||||
|
[menu]
|
||||||
|
);
|
||||||
|
|
||||||
const handleStar = React.useCallback(
|
const handleStar = React.useCallback(
|
||||||
(ev: SyntheticEvent<>) => {
|
(ev: SyntheticEvent<>) => {
|
||||||
|
Reference in New Issue
Block a user