@expofp/floorplan
Version:
Interactive floor plan library for expos and events
2 lines (1 loc) • 324 B
JavaScript
import{jsx as t}from"react/jsx-runtime";import{useObserver as e}from"mobx-react-lite";import{useRef as o}from"react";import{uiState as r}from"../store";import{EntityList as s}from"./";function f(){const i=o();return e(()=>t(s,{updatedScrollableRef:i}))}export default()=>e(()=>!r.details&&r.list.type==="visited"&&t(f,{}));