@vishu1301/script-writing 1.2.0 → 1.2.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.
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2445,6 +2445,11 @@ function useScriptBreakdownScene(options) {
|
|
|
2445
2445
|
setSceneBrief("");
|
|
2446
2446
|
autoTaggedSceneRef.current = null;
|
|
2447
2447
|
}, [options.scene_url]);
|
|
2448
|
+
react.useEffect(() => {
|
|
2449
|
+
if (options.preLoadedTags && options.preLoadedTags.length > 0) {
|
|
2450
|
+
setTags(options.preLoadedTags);
|
|
2451
|
+
}
|
|
2452
|
+
}, []);
|
|
2448
2453
|
const clearSelection = react.useCallback(() => {
|
|
2449
2454
|
var _a;
|
|
2450
2455
|
setSelectionMenu(null);
|