feat: Add more pages
This commit is contained in:
@ -219,6 +219,11 @@ class SightsStore {
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
deleteListSight = async (id: number) => {
|
||||
await authInstance.delete(`/sight/${id}`);
|
||||
this.sights = this.sights.filter((sight) => sight.id !== id);
|
||||
};
|
||||
}
|
||||
|
||||
export const sightsStore = new SightsStore();
|
||||
|
Reference in New Issue
Block a user