place optional parameters of functions at the end(#104)

This commit is contained in:
liao文禧
2024-05-14 11:22:13 +08:00
parent 9de091c990
commit a33b68bfd0
14 changed files with 32 additions and 32 deletions

View File

@@ -138,7 +138,7 @@ export default function NoteInfo({ data, nid }) {
type="danger"
onClick={() => {
Toast.success(`Note deleted!`);
deleteNote(nid, true);
deleteNote(nid);
}}
/>
</div>