@carlonicora/nextjs-jsonapi 1.88.0 → 1.88.1

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.
@@ -9207,7 +9207,7 @@ __name(FormCheckbox, "FormCheckbox");
9207
9207
  import dynamic from "next/dynamic";
9208
9208
  import React14 from "react";
9209
9209
  import { jsx as jsx73 } from "react/jsx-runtime";
9210
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-RTA7EJWW.mjs"), {
9210
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-ZK2FZKIT.mjs"), {
9211
9211
  ssr: false
9212
9212
  });
9213
9213
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -13386,6 +13386,14 @@ function RoundPageContainer({
13386
13386
  const rewriteUrl = useUrlRewriter();
13387
13387
  const initialValue = tabs ? (section && tabs.find((i) => (i.key?.name ?? i.label) === section) ? section : null) || (tabs[0].key?.name ?? tabs[0].label) : void 0;
13388
13388
  const [activeTab, setActiveTab] = useState46(initialValue);
13389
+ useEffect38(() => {
13390
+ if (tabs && section) {
13391
+ const tab = tabs.find((i) => (i.key?.name ?? i.label) === section);
13392
+ if (tab) {
13393
+ setActiveTab(section);
13394
+ }
13395
+ }
13396
+ }, [section, tabs]);
13389
13397
  const activeFillHeight = tabs?.find((t) => (t.key?.name ?? t.label) === activeTab)?.fillHeight === true;
13390
13398
  return /* @__PURE__ */ jsxs87(Fragment22, { children: [
13391
13399
  /* @__PURE__ */ jsx147(Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
@@ -21793,4 +21801,4 @@ export {
21793
21801
  useOAuthClients,
21794
21802
  useOAuthClient
21795
21803
  };
21796
- //# sourceMappingURL=chunk-5ZNQKOSM.mjs.map
21804
+ //# sourceMappingURL=chunk-JAVXCFGG.mjs.map