Sidebar editing toggle and only scroll atlas content
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { observable, action } from 'mobx';
|
||||
|
||||
class SidebarStore {
|
||||
@observable isEditing = false;
|
||||
|
||||
/* Actions */
|
||||
|
||||
@action toggleEdit = () => {
|
||||
this.isEditing = !this.isEditing;
|
||||
}
|
||||
}
|
||||
|
||||
export default SidebarStore;
|
||||
Reference in New Issue
Block a user