[DE mobile] Added navigation store

This commit is contained in:
SergeyEzhin 2022-07-03 18:32:59 +04:00
parent 68a9a83041
commit b5374af7ce

View file

@ -0,0 +1,16 @@
import {action, observable, makeObservable} from 'mobx';
export class storeNavigation {
constructor() {
makeObservable(this, {
bookmarks: observable,
initBookmarks: action
});
}
bookmarks = [];
initBookmarks(bookmarks) {
this.bookmarks = bookmarks;
}
}