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