@vishu1301/script-writing 1.1.6 → 1.1.7

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.
package/dist/index.cjs CHANGED
@@ -2288,8 +2288,8 @@ function ScriptBreakdownSceneView({
2288
2288
  ] })
2289
2289
  ] }) });
2290
2290
  }
2291
- function useScriptBreakdownScene(scene_url, fetchOptions, onAISummarize, onTagAdded, onTagRemoved) {
2292
- const [tags, setTags] = react.useState([]);
2291
+ function useScriptBreakdownScene(scene_url, fetchOptions, onAISummarize, onTagAdded, onTagRemoved, preLoadedTags) {
2292
+ const [tags, setTags] = react.useState(preLoadedTags || []);
2293
2293
  const [selectionMenu, setSelectionMenu] = react.useState(null);
2294
2294
  const autoTaggedSceneRef = react.useRef(null);
2295
2295
  const [scene, setScene] = react.useState(null);