mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
refactor and use require
This commit is contained in:
@@ -36,6 +36,7 @@ const MoveNoteDialog = () => {
|
||||
const [, dispatch] = useTracked();
|
||||
const [visible, setVisible] = useState(false);
|
||||
const [note, setNote] = useState(null);
|
||||
|
||||
function open(note) {
|
||||
setNote(note);
|
||||
setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user