@expofp/floorplan
Version:
Interactive floor plan library for expos and events
2 lines (1 loc) • 365 B
JavaScript
import{autorun as a}from"mobx";import{getStorage as r,saveStorage as s}from"../../utils/entity-storage";export default function i(o){m(o.speakerStore)}function m(o){const t=r("bookmarked");o.replaceBookmarked(t.speakers),a(()=>{const e=r("bookmarked");s("bookmarked",{exhibitors:e.exhibitors,events:e.events,speakers:o.bookmarked?.map(k=>k.id),booths:e.booths})})}