mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix state issues
This commit is contained in:
@@ -299,7 +299,6 @@ export const useActions = ({ close = () => {}, item }) => {
|
||||
try {
|
||||
if (isPinnedToMenu) {
|
||||
await db.settings.unpin(item.id);
|
||||
return;
|
||||
} else {
|
||||
if (item.type === 'topic') {
|
||||
await db.settings.pin(item.type, {
|
||||
|
||||
Reference in New Issue
Block a user