@jbrowse/plugin-linear-genome-view 1.5.5 → 1.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import React, { useRef, useState, useMemo, useEffect, lazy } from 'react';
1
+ import React, { useRef, useState, useMemo, useEffect, Suspense, lazy } from 'react';
2
2
  import { ConfigurationSchema, getConf, readConfObject, ConfigurationReference as ConfigurationReference$1 } from '@jbrowse/core/configuration';
3
3
  import { BaseDisplay, BaseViewModel, createBaseTrackConfig, createBaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models';
4
4
  import TrackType from '@jbrowse/core/pluggableElementTypes/TrackType';
@@ -3801,11 +3801,13 @@ function RefNameAutocomplete(_ref) {
3801
3801
  getOptionLabel: function getOptionLabel(option) {
3802
3802
  return (typeof option === 'string' ? option : option.result.getLabel()) || '';
3803
3803
  }
3804
- }), isHelpDialogDisplayed ? /*#__PURE__*/React.createElement(HelpDialog, {
3804
+ }), isHelpDialogDisplayed ? /*#__PURE__*/React.createElement(Suspense, {
3805
+ fallback: /*#__PURE__*/React.createElement("div", null)
3806
+ }, /*#__PURE__*/React.createElement(HelpDialog, {
3805
3807
  handleClose: function handleClose() {
3806
3808
  return setHelpDialogDisplayed(false);
3807
3809
  }
3808
- }) : null);
3810
+ })) : null);
3809
3811
  }
3810
3812
 
3811
3813
  var RefNameAutocomplete$1 = /*#__PURE__*/observer(RefNameAutocomplete);